summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/tests/groupstest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/provisioning_api/tests/groupstest.php')
-rw-r--r--apps/provisioning_api/tests/groupstest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/provisioning_api/tests/groupstest.php b/apps/provisioning_api/tests/groupstest.php
index 7c5343af46d..94bde52c392 100644
--- a/apps/provisioning_api/tests/groupstest.php
+++ b/apps/provisioning_api/tests/groupstest.php
@@ -39,7 +39,7 @@ class GroupsTest extends TestCase {
$this->assertInstanceOf('OC_OCS_Result', $result);
$this->assertFalse($result->succeeded());
- $this->assertEquals(\OC_API::RESPOND_UNAUTHORISED, $result->getStatusCode());
+ $this->assertEquals(\OCP\API::RESPOND_UNAUTHORISED, $result->getStatusCode());
}
@@ -92,7 +92,7 @@ class GroupsTest extends TestCase {
$this->assertInstanceOf('OC_OCS_Result', $result);
$this->assertFalse($result->succeeded());
- $this->assertEquals(\OC_API::RESPOND_UNAUTHORISED, $result->getStatusCode());
+ $this->assertEquals(\OCP\API::RESPOND_UNAUTHORISED, $result->getStatusCode());
}