Merge branch '4.4'
* 4.4: fix tests
This commit is contained in:
commit
2009f444fe
@ -12,10 +12,13 @@
|
|||||||
namespace Symfony\Component\HttpFoundation\Tests;
|
namespace Symfony\Component\HttpFoundation\Tests;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use Symfony\Bridge\PhpUnit\ForwardCompatTestTrait;
|
||||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||||
|
|
||||||
class JsonResponseTest extends TestCase
|
class JsonResponseTest extends TestCase
|
||||||
{
|
{
|
||||||
|
use ForwardCompatTestTrait;
|
||||||
|
|
||||||
public function testConstructorEmptyCreatesJsonObject()
|
public function testConstructorEmptyCreatesJsonObject()
|
||||||
{
|
{
|
||||||
$response = new JsonResponse();
|
$response = new JsonResponse();
|
||||||
|
Reference in New Issue
Block a user