[Serializer] Fix tests marked as incomplete
This commit is contained in:
parent
11290f9c8d
commit
e632302004
@ -38,8 +38,6 @@ trait IgnoredAttributesTestTrait
|
|||||||
$normalizer->normalize($objectOuter, null, $context)
|
$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']];
|
$context = ['ignored_attributes' => ['foo', 'inner']];
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user