diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-05-16 14:17:41 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-05-16 14:31:10 +0200 |
commit | 45110f4c5d4d5fe1698b7ff05c777d7344da1fe3 (patch) | |
tree | acd84bb3c6d745cfabdcf92875f10c16cb6607e7 /apps/provisioning_api/tests/Controller | |
parent | 856a33ec47e169bcfb57eb7abad51e567f8da203 (diff) | |
download | nextcloud-server-45110f4c5d4d5fe1698b7ff05c777d7344da1fe3.tar.gz nextcloud-server-45110f4c5d4d5fe1698b7ff05c777d7344da1fe3.zip |
fixes misunderstanding of the error message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/provisioning_api/tests/Controller')
-rw-r--r-- | apps/provisioning_api/tests/Controller/UsersControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index c6e0082c4b0..7a7f0144524 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -2516,7 +2516,7 @@ class UsersControllerTest extends TestCase { /** * @expectedException \OCP\AppFramework\OCS\OCSException * @expectedExceptionCode 105 - * @expectedExceptionMessage Cannot remove user from this group as this is the only remaining group you are a SubAdmin of + * @expectedExceptionMessage Not viable to remove user from the last group you are SubAdmin of */ public function testRemoveFromGroupAsSubAdminFromLastSubAdminGroup() { $loggedInUser = $this->getMockBuilder(IUser::class)->disableOriginalConstructor()->getMock(); |