Skip to content

Commit

Permalink
Fixed unit tests to be compatible with latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle van Oosterbosch committed Feb 11, 2020
1 parent e18d45d commit b2e0777
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tests/Serializer/Normalizer/IterableNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
namespace Superbrave\GdprBundle\Tests\Serializer\Normalizer;

use Doctrine\Common\Collections\ArrayCollection;
use PHPUnit\Framework\TestCase;
use Superbrave\GdprBundle\Serializer\Normalizer\IterableNormalizer;
use Symfony\Component\Serializer\Encoder\JsonEncoder;
use Symfony\Component\Serializer\Normalizer\DateTimeNormalizer;
Expand All @@ -23,7 +24,7 @@
*
* @author Jelle van Oosterbosch <jvo@superbrave.nl>
*/
class IterableNormalizerTest extends \PHPUnit_Framework_TestCase
class IterableNormalizerTest extends TestCase
{
/**
* @var IterableNormalizer
Expand All @@ -38,7 +39,7 @@ class IterableNormalizerTest extends \PHPUnit_Framework_TestCase
/**
* {@inheritdoc}
*/
public function setUp()
public function setUp(): void
{
$this->normalizer = new IterableNormalizer();
$this->serializer = new Serializer([
Expand Down

0 comments on commit b2e0777

Please sign in to comment.