Fix unit test

This commit is contained in:
Lukas Reschke 2014-12-04 15:54:32 +01:00
parent db9765b4d5
commit d2e8358da2

View file

@ -173,7 +173,8 @@ class ControllerTest extends \Test\TestCase {
public function testFormatDataResponseJSON() { public function testFormatDataResponseJSON() {
$expectedHeaders = array( $expectedHeaders = array(
'test' => 'something', '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')); $response = $this->controller->customDataResponse(array('hi'));