composer update
This commit is contained in:
@@ -43,7 +43,8 @@ class JsonResponseTest extends TestCase
|
||||
$this->assertSame('0', $response->getContent());
|
||||
|
||||
$response = new JsonResponse(0.1);
|
||||
$this->assertSame('0.1', $response->getContent());
|
||||
$this->assertEquals('0.1', $response->getContent());
|
||||
$this->assertInternalType('string', $response->getContent());
|
||||
|
||||
$response = new JsonResponse(true);
|
||||
$this->assertSame('true', $response->getContent());
|
||||
@@ -131,7 +132,8 @@ class JsonResponseTest extends TestCase
|
||||
|
||||
$response = JsonResponse::create(0.1);
|
||||
$this->assertInstanceOf('Symfony\Component\HttpFoundation\JsonResponse', $response);
|
||||
$this->assertSame('0.1', $response->getContent());
|
||||
$this->assertEquals('0.1', $response->getContent());
|
||||
$this->assertInternalType('string', $response->getContent());
|
||||
|
||||
$response = JsonResponse::create(true);
|
||||
$this->assertInstanceOf('Symfony\Component\HttpFoundation\JsonResponse', $response);
|
||||
|
||||
Reference in New Issue
Block a user