Skip to content

Commit 29c1258

Browse files
committed
fix tests
1 parent d8ee5ae commit 29c1258

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/AbstractObjectNormalizerTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,11 @@ public function testNormalizeWithIgnoreAttributeAndPrivateProperties()
848848
public function testNormalizeBasedOnAllowedAttributes()
849849
{
850850
$normalizer = new class() extends AbstractObjectNormalizer {
851+
public function getSupportedTypes(?string $format): array
852+
{
853+
return ['*' => false];
854+
}
855+
851856
protected function getAllowedAttributes($classOrObject, array $context, bool $attributesAsString = false): array
852857
{
853858
return ['foo'];

0 commit comments

Comments
 (0)