Fix unit test

This commit is contained in:
Lukas Reschke 2014-12-04 15:54:32 +01:00
parent db9765b4d5
commit d2e8358da2
1 changed files with 2 additions and 1 deletions

View File

@ -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'));