8000 fix merge · symfony/symfony@e8fbd7d · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit e8fbd7d

Browse files
committed
fix merge
1 parent 1759e87 commit e8fbd7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ public function testSamePropertyAsMethod()
854854

855855
public function testSamePropertyAsMethodWithPropertySerializedName()
856856
{
857-
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
857+
$classMetadataFactory = new ClassMetadataFactory(new AttributeLoader());
858858
$this->normalizer = new ObjectNormalizer($classMetadataFactory, new MetadataAwareNameConverter($classMetadataFactory));
859859
$this->normalizer->setSerializer($this->serializer);
860860

@@ -871,7 +871,7 @@ public function testSamePropertyAsMethodWithPropertySerializedName()
871871

872872
public function testSamePropertyAsMethodWithMethodSerializedName()
873873
{
874-
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
874+
$classMetadataFactory = new ClassMetadataFactory(new AttributeLoader());
875875
$this->normalizer = new ObjectNormalizer($classMetadataFactory, new MetadataAwareNameConverter($classMetadataFactory));
876876
$this->normalizer->setSerializer($this->serializer);
877877

0 commit comments

Comments
 (0)
0