Skip to content

Commit 10ced7a

Browse files
committed
minor #41131 [Serializer] Fix duplicated legacy test (chalasr)
This PR was merged into the 5.3-dev branch. Discussion ---------- [Serializer] Fix duplicated legacy test | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Probably accidentally kept in #40710 Commits ------- 19e5650 Fix duplicated legacy test
2 parents ad91659 + 19e5650 commit 10ced7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Tests/Annotation/SerializedNameTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testNotAStringSerializedNameParameter($value)
5454

5555
public function testSerializedNameParameters()
5656
{
57-
$maxDepth = new SerializedName(['value' => 'foo']);
57+
$maxDepth = new SerializedName('foo');
5858
$this->assertEquals('foo', $maxDepth->getSerializedName());
5959
}
6060

0 commit comments

Comments
 (0)