mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #43332 from nextcloud/rakekniven-patch-3
This commit is contained in:
commit
afb7e8128a
2 changed files with 2 additions and 2 deletions
|
|
@ -372,7 +372,7 @@ class UsersController extends AUserData {
|
|||
}
|
||||
$attempts++;
|
||||
} while ($attempts < 10);
|
||||
throw new OCSException($this->l10n->t('Could not create non-existing user id'), 111);
|
||||
throw new OCSException($this->l10n->t('Could not create non-existing user ID'), 111);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -562,7 +562,7 @@ class UsersControllerTest extends TestCase {
|
|||
|
||||
public function testAddUserFailedToGenerateUserID() {
|
||||
$this->expectException(\OCP\AppFramework\OCS\OCSException::class);
|
||||
$this->expectExceptionMessage('Could not create non-existing user id');
|
||||
$this->expectExceptionMessage('Could not create non-existing user ID');
|
||||
$this->expectExceptionCode(111);
|
||||
|
||||
$this->config
|
||||
|
|
|
|||
Loading…
Reference in a new issue