Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e632302

Browse files
committed
[Serializer] Fix tests marked as incomplete
1 parent 11290f9 commit e632302

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/Features/IgnoredAttributesTestTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ public function testIgnoredAttributesNormalize()
3838
$normalizer->normalize($objectOuter, null, $context)
3939
);
4040

41-
$this->markTestIncomplete('AbstractObjectNormalizer::getAttributes caches attributes by class instead of by class+context, reusing the normalizer with different config therefore fails. This is being fixed in https://github.com/symfony/symfony/pull/30907');
42-
4341
$context = ['ignored_attributes' => ['foo', 'inner']];
4442
$this->assertEquals(
4543
[

0 commit comments

Comments
 (0)