diff options
author | rakekniven <2069590+rakekniven@users.noreply.github.com> | 2024-02-05 08:57:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 08:57:56 +0100 |
commit | afb7e8128a5837f20d71bb99b81b51b9513fc7ba (patch) | |
tree | c052359579cb15cf68a4bafe8f802c1be40ff704 /apps/provisioning_api | |
parent | 084811ba54cbeea4ca4d63b432e72aa4c6cf2c5b (diff) | |
parent | c951eead735c565d2e32540f22b1e05108e375b8 (diff) | |
download | nextcloud-server-afb7e8128a5837f20d71bb99b81b51b9513fc7ba.tar.gz nextcloud-server-afb7e8128a5837f20d71bb99b81b51b9513fc7ba.zip |
Merge pull request #43332 from nextcloud/rakekniven-patch-3
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 | ||||
-rw-r--r-- | apps/provisioning_api/tests/Controller/UsersControllerTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index a3453c86710..1920128d246 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -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); } /** diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index fe22a7870dd..5c4493b9e77 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -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 |