Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
* 2.7:
  Minor fixes & cleanups
  • Loading branch information
nicolas-grekas committed Oct 6, 2016
2 parents 4df00e5 + aa80c66 commit 83262dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/JsonResponseTest.php
Expand Up @@ -216,10 +216,10 @@ public function testSetContentJsonSerializeError()

public function testSetComplexCallback()
{
$response = JsonResponse::fromJsonString('{foo: "bar"}');
$response = JsonResponse::create(array('foo' => 'bar'));
$response->setCallback('ಠ_ಠ["foo"].bar[0]');

$this->assertEquals('/**/ಠ_ಠ["foo"].bar[0]({foo: "bar"});', $response->getContent());
$this->assertEquals('/**/ಠ_ಠ["foo"].bar[0]({"foo":"bar"});', $response->getContent());
}
}

Expand Down

0 comments on commit 83262dd

Please sign in to comment.