summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-04-20 18:15:06 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-04-20 18:26:14 +0200
commit04674c06cca5884e6269461b2ae9a6e64a00953d (patch)
treefee4148cf9fc8166effe886b9574c8b3175543a0 /apps/encryption/tests
parent3f96662609a93f4da653c5962175ae42f4768fc1 (diff)
downloadnextcloud-server-04674c06cca5884e6269461b2ae9a6e64a00953d.tar.gz
nextcloud-server-04674c06cca5884e6269461b2ae9a6e64a00953d.zip
Dont use the old .status way
Diffstat (limited to 'apps/encryption/tests')
-rw-r--r--apps/encryption/tests/controller/SettingsControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/tests/controller/SettingsControllerTest.php b/apps/encryption/tests/controller/SettingsControllerTest.php
index a12773790a9..478bf8213b5 100644
--- a/apps/encryption/tests/controller/SettingsControllerTest.php
+++ b/apps/encryption/tests/controller/SettingsControllerTest.php
@@ -131,7 +131,7 @@ class SettingsControllerTest extends TestCase {
$this->assertSame(Http::STATUS_BAD_REQUEST, $result->getStatus());
$this->assertSame('The current log-in password was not correct, please try again.',
- $data['data']['message']);
+ $data['message']);
}
/**
@@ -158,7 +158,7 @@ class SettingsControllerTest extends TestCase {
$this->assertSame(Http::STATUS_BAD_REQUEST, $result->getStatus());
$this->assertSame('The old password was not correct, please try again.',
- $data['data']['message']);
+ $data['message']);
}
/**
@@ -216,7 +216,7 @@ class SettingsControllerTest extends TestCase {
$this->assertSame(Http::STATUS_OK, $result->getStatus());
$this->assertSame('Private key password successfully updated.',
- $data['data']['message']);
+ $data['message']);
}
}