summaryrefslogtreecommitdiffstats
path: root/tests/Settings
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-25 15:12:49 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:17 +0200
commit2fae696d35d221a9fb25b90b90b32c35c81fdd45 (patch)
tree85e00c12d8a0e507d46c11ec4cba67fc31aae67e /tests/Settings
parent61a6adff143b405dd5e0f2fe3785286692126f0c (diff)
downloadnextcloud-server-2fae696d35d221a9fb25b90b90b32c35c81fdd45.tar.gz
nextcloud-server-2fae696d35d221a9fb25b90b90b32c35c81fdd45.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/Settings')
-rw-r--r--tests/Settings/Controller/CertificateControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Settings/Controller/CertificateControllerTest.php b/tests/Settings/Controller/CertificateControllerTest.php
index 36b5715e734..48d34a1542b 100644
--- a/tests/Settings/Controller/CertificateControllerTest.php
+++ b/tests/Settings/Controller/CertificateControllerTest.php
@@ -174,7 +174,7 @@ class CertificateControllerTest extends \Test\TestCase {
->with(file_get_contents($uploadedFile['tmp_name'], 'badCertificate.crt'))
->will($this->throwException(new \Exception()));
- $expected = new DataResponse('An error occurred.', Http::STATUS_UNPROCESSABLE_ENTITY);
+ $expected = new DataResponse(['An error occurred.'], Http::STATUS_UNPROCESSABLE_ENTITY);
$this->assertEquals($expected, $this->certificateController->addPersonalRootCertificate());
}