also adjust error messages when adding admins + fix phpunit tests
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -86,7 +86,7 @@ class AdminsTest extends TestCase
|
||||
'name' => 'Testreseller'
|
||||
];
|
||||
|
||||
$this->expectExceptionMessage('You cannot create accounts which are similar to system accounts (as for example begin with "web"). Please enter another account name.');
|
||||
$this->expectExceptionMessage('You cannot create accounts that begin with "web", as this prefix is set to be used for the automatic account-naming. Please enter another account name.');
|
||||
Admins::getLocal($admin_userdata, $data)->add();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user