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