minor #39975 [Serializer] Fix tests wrongly marked as incomplete (chalasr)
This PR was merged into the 4.4 branch.
Discussion
----------
[Serializer] Fix tests wrongly marked as incomplete
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
https://github.com/symfony/symfony/pull/30907 has been merged meanwhile.
Commits
-------
e632302004
[Serializer] Fix tests marked as incomplete
This commit is contained in:
commit
ffdc46c86b
@ -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(
|
||||
[
|
||||
|
Reference in New Issue
Block a user