From 4dd72e9eb9128c873356023eb6c5f1a829745f25 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 21 Apr 2017 11:30:00 -0500 Subject: Use RESPOND_NOT_FOUND for non existing user Signed-off-by: Morris Jobke --- apps/provisioning_api/tests/Controller/UsersControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/provisioning_api/tests') diff --git a/apps/provisioning_api/tests/Controller/UsersControllerTest.php b/apps/provisioning_api/tests/Controller/UsersControllerTest.php index 1d1cd97b6d2..2eb3853d333 100644 --- a/apps/provisioning_api/tests/Controller/UsersControllerTest.php +++ b/apps/provisioning_api/tests/Controller/UsersControllerTest.php @@ -2707,7 +2707,7 @@ class UsersControllerTest extends TestCase { /** * @expectedException \OCP\AppFramework\OCS\OCSException - * @expectedExceptionCode 997 + * @expectedExceptionCode 998 */ public function testResendWelcomeMessageWithNotExistingTargetUser() { $this->userManager -- cgit v1.2.3