Merge branch '4.4'

* 4.4:
  fix tests
This commit is contained in:
Nicolas Grekas 2019-08-01 12:28:08 +02:00
commit 2009f444fe

View File

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