Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Mar 19, 2024
1 parent 1759e87 commit e8fbd7d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -854,7 +854,7 @@ public function testSamePropertyAsMethod()

public function testSamePropertyAsMethodWithPropertySerializedName()
{
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
$classMetadataFactory = new ClassMetadataFactory(new AttributeLoader());
$this->normalizer = new ObjectNormalizer($classMetadataFactory, new MetadataAwareNameConverter($classMetadataFactory));
$this->normalizer->setSerializer($this->serializer);

Expand All @@ -871,7 +871,7 @@ public function testSamePropertyAsMethodWithPropertySerializedName()

public function testSamePropertyAsMethodWithMethodSerializedName()
{
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
$classMetadataFactory = new ClassMetadataFactory(new AttributeLoader());
$this->normalizer = new ObjectNormalizer($classMetadataFactory, new MetadataAwareNameConverter($classMetadataFactory));
$this->normalizer->setSerializer($this->serializer);

Expand Down

0 comments on commit e8fbd7d

Please sign in to comment.