Fix unit test

remotes/origin/fix-10825
Lukas Reschke 10 years ago
parent db9765b4d5
commit d2e8358da2
  1. 3
      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'));

Loading…
Cancel
Save