Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2534b19

Browse filesBrowse files
committed
Fixed failing tests
1 parent 5156b78 commit 2534b19
Copy full SHA for 2534b19

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/Serializer/Tests/Normalizer/MetadataAwareNormalizerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/Normalizer/MetadataAwareNormalizerTest.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Doctrine\Common\Annotations\AnnotationReader;
1515
use PHPUnit\Framework\TestCase;
16+
use Symfony\Component\PropertyInfo\Extractor\SerializerExtractor;
1617
use Symfony\Component\Serializer\Mapping\Loader\BetterAnnotationLoader;
1718
use Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter;
1819
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
@@ -54,7 +55,7 @@ protected function setUp()
5455
{
5556
$this->serializer = $this->getMockBuilder(__NAMESPACE__.'\MetadataObjectSerializerNormalizer')->getMock();
5657
$classMetadataFactory = new ClassMetadataFactory(new BetterAnnotationLoader(new AnnotationReader()));
57-
$this->normalizer = new MetadataAwareNormalizer($classMetadataFactory, null, null, null, null, new MetadataAwarePropertyTypeExtractor($classMetadataFactory));
58+
$this->normalizer = new MetadataAwareNormalizer($classMetadataFactory, null, new MetadataAwarePropertyTypeExtractor($classMetadataFactory));
5859
$this->normalizer->setSerializer($this->serializer);
5960
}
6061

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.