[Serializer] Fix tests marked as incomplete

This commit is contained in:
Robin Chalas 2021-01-26 11:29:48 +01:00
parent 11290f9c8d
commit e632302004

View File

@ -38,8 +38,6 @@ trait IgnoredAttributesTestTrait
$normalizer->normalize($objectOuter, null, $context)
);
$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');
$context = ['ignored_attributes' => ['foo', 'inner']];
$this->assertEquals(
[