diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-04 15:54:32 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-04 15:54:32 +0100 |
commit | d2e8358da22aa4d7ecfae4a062a82f554845f42a (patch) | |
tree | 0c20705f05144616fa0ee43dcabf6418c6b87f0c /tests | |
parent | db9765b4d598c89f98d963ca302a2a516ccf2076 (diff) | |
download | nextcloud-server-d2e8358da22aa4d7ecfae4a062a82f554845f42a.tar.gz nextcloud-server-d2e8358da22aa4d7ecfae4a062a82f554845f42a.zip |
Fix unit test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/appframework/controller/ControllerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/appframework/controller/ControllerTest.php b/tests/lib/appframework/controller/ControllerTest.php index d186651dc23..18d47d00f6b 100644 --- a/tests/lib/appframework/controller/ControllerTest.php +++ b/tests/lib/appframework/controller/ControllerTest.php @@ -173,7 +173,8 @@ class ControllerTest extends \Test\TestCase { public function testFormatDataResponseJSON() { $expectedHeaders = array( 'test' => 'something', - 'Cache-Control' => 'no-cache, must-revalidate' + 'Cache-Control' => 'no-cache, must-revalidate', + 'Content-Type' => 'application/json; charset=utf-8' ); $response = $this->controller->customDataResponse(array('hi')); |