Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 987e435

Browse files
Fix merge
1 parent 655c00b commit 987e435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tests/Normalizer/ObjectNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ public function testTypeMismatchOnTypedPropertyIsCollectedAsDenormalizationError
610610
$this->assertInstanceOf(NotNormalizableValueException::class, $error);
611611
$this->assertSame('name', $error->getPath());
612612
$this->assertSame('array', $error->getCurrentType());
613-
$this->assertSame(['string'], $error->getExpectedTypes());
613+
$this->assertSame([class_exists(InvalidTypeException::class) ? 'string' : 'unknown'], $error->getExpectedTypes());
614614
}
615615
}
616616

0 commit comments

Comments
 (0)