File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -486,15 +486,15 @@ public function testDateTimeNormalizerRegistered()
486
486
$ this ->assertEquals (-910 , $ tag [0 ]['priority ' ]);
487
487
}
488
488
489
- public function testJsonNormalizerRegistered ()
489
+ public function testJsonSerializableNormalizerRegistered ()
490
490
{
491
491
if (!class_exists ('Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer ' )) {
492
492
$ this ->markTestSkipped ('The JsonSerializableNormalizer has been introduced in the Serializer Component version 3.1. ' );
493
493
}
494
494
495
495
$ container = $ this ->createContainerFromFile ('full ' );
496
496
497
- $ definition = $ container ->getDefinition ('serializer.normalizer.json ' );
497
+ $ definition = $ container ->getDefinition ('serializer.normalizer.json_serializable ' );
498
498
$ tag = $ definition ->getTag ('serializer.normalizer ' );
499
499
500
500
$ this ->assertEquals (JsonSerializableNormalizer::class, $ definition ->getClass ());
You can’t perform that action at this time.
0 commit comments