Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a696107

Browse filesBrowse files
committed
[FrameworkBundle] Fix test for JsonSerializableNormalizer
1 parent 48f05ec commit a696107
Copy full SHA for a696107

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.