Merge pull request #43332 from nextcloud/rakekniven-patch-3

This commit is contained in:
rakekniven 2024-02-05 08:57:56 +01:00 committed by GitHub
commit afb7e8128a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}
/**

View file

@ -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