8000 minor #17936 [FrameworkBundle] Fix test for JsonSerializableNormalize… · symfony/symfony@a0fd637 · GitHub
[go: up one dir, main page]

Skip to content

Commit a0fd637

Browse files
committed
minor #17936 [FrameworkBundle] Fix test for JsonSerializableNormalizer (dunglas)
This PR was merged into the 3.1-dev branch. Discussion ---------- [FrameworkBundle] Fix test for JsonSerializableNormalizer | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Fix a test failure introduced by #17603 Commits ------- a696107 [FrameworkBundle] Fix test for JsonSerializableNormalizer
2 parents 992a696 + a696107 commit a0fd637

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,15 +486,15 @@ public function testDateTimeNormalizerRegistered()
486486
$this->assertEquals(-910, $tag[0]['priority']);
487487
}
488488

489-
public function testJsonNormalizerRegistered()
489+
public function testJsonSerializableNormalizerRegistered()
490490
{
491491
if (!class_exists('Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer')) {
492492
$this->markTestSkipped('The JsonSerializableNormalizer has been introduced in the Serializer Component version 3.1.');
493493
}
494494

495495
$container = $this->createContainerFromFile('full');
496496

497-
$definition = $container->getDefinition('serializer.normalizer.json');
497+
$definition = $container->getDefinition('serializer.normalizer.json_serializable');
498498
$tag = $definition->getTag('serializer.normalizer');
499499

500500
$this->assertEquals(JsonSerializableNormalizer::class, $definition->getClass());

0 commit comments

Comments
 (0)
0