Commit 48ec9b11 authored by Dave Marshall's avatar Dave Marshall

Make test ignore JSON semantics

parent c1bf812c
...@@ -26,7 +26,8 @@ class JsonTest extends \PHPUnit_Framework_TestCase ...@@ -26,7 +26,8 @@ class JsonTest extends \PHPUnit_Framework_TestCase
$response = $app->json(); $response = $app->json();
$this->assertInstanceOf('Symfony\Component\HttpFoundation\JsonResponse', $response); $this->assertInstanceOf('Symfony\Component\HttpFoundation\JsonResponse', $response);
$this->assertSame('{}', $response->getContent()); $response = json_decode($response->getContent(), true);
$this->assertSame(array(), $response);
} }
public function testJsonUsesData() public function testJsonUsesData()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment