diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-01 20:27:00 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-08-02 12:00:59 +0300 |
commit | b88659359a79c3720dd6f14178370eb021dd3819 (patch) | |
tree | 8f33633b593d4ff20c94a708c3813699320e3e6f /tests | |
parent | 479400f535db040fc8acb7206dec32416872d04e (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.php | 4 |
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) ); } |