diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-25 15:12:49 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:17 +0200 |
commit | 2fae696d35d221a9fb25b90b90b32c35c81fdd45 (patch) | |
tree | 85e00c12d8a0e507d46c11ec4cba67fc31aae67e /tests/Settings | |
parent | 61a6adff143b405dd5e0f2fe3785286692126f0c (diff) | |
download | nextcloud-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.php | 2 |
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()); } |