Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-04 18:59:42 +0300
committerMorris Jobke <hey@morrisjobke.de>2014-12-04 18:59:42 +0300
commitb6975143ff03c12e8f996b6f9f3144c5c0f47b25 (patch)
treec19e955bf36bd3b0b016695cf14c2d191b19740f /tests
parentf3213571bb2609a7f279fd5254f872083b3ea91a (diff)
parentd2e8358da22aa4d7ecfae4a062a82f554845f42a (diff)
Merge pull request #12619 from owncloud/use-also-original-hea
Merge headers
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/appframework/controller/ControllerTest.php3
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'));