Applied latest styleci changes

This commit is contained in:
Dan Brown 2022-08-09 13:26:45 +01:00
parent 6e0a7344fa
commit 45dc28ba2a
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9

View file

@ -252,8 +252,8 @@ class UserManagementTest extends TestCase
// Both on create
$resp = $this->post('/settings/users/create', [
'language' => 'en<GB_and_this_is_longer',
'name' => 'My name',
'email' => 'jimmy@example.com',
'name' => 'My name',
'email' => 'jimmy@example.com',
]);
$resp->assertSessionHasErrors(['language' => 'The language may not be greater than 15 characters.']);
$resp->assertSessionHasErrors(['language' => 'The language may only contain letters, numbers, dashes and underscores.']);