Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/impersonate.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-01 20:27:00 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-02 12:00:59 +0300
commitb88659359a79c3720dd6f14178370eb021dd3819 (patch)
tree8f33633b593d4ff20c94a708c3813699320e3e6f /tests
parent479400f535db040fc8acb7206dec32416872d04e (diff)
adjust tests to changed string
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Controller/SettingsControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Controller/SettingsControllerTest.php b/tests/unit/Controller/SettingsControllerTest.php
index 3e11fdd..f5a3e12 100644
--- a/tests/unit/Controller/SettingsControllerTest.php
+++ b/tests/unit/Controller/SettingsControllerTest.php
@@ -271,7 +271,7 @@ class SettingsControllerTest extends TestCase {
->willReturnArgument(2);
$this->assertEquals(
- new JSONResponse(['message' => 'Not enough permissions to impersonate user'], Http::STATUS_FORBIDDEN),
+ new JSONResponse(['message' => 'Insufficient permissions to impersonate user'], Http::STATUS_FORBIDDEN),
$this->controller->impersonate($query)
);
}
@@ -316,7 +316,7 @@ class SettingsControllerTest extends TestCase {
->with($user);
$this->assertEquals(
- new JSONResponse(['message' => 'Not enough permissions to impersonate user'], Http::STATUS_FORBIDDEN),
+ new JSONResponse(['message' => 'Insufficient permissions to impersonate user'], Http::STATUS_FORBIDDEN),
$this->controller->impersonate($query)
);
}