8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b809689 commit 6f86c62Copy full SHA for 6f86c62
src/Symfony/Component/Validator/Tests/Validator/RecursiveValidatorTest.php
@@ -787,7 +787,7 @@ public function testDisableTraversableTraversal()
787
788
public function testMetadataMustExistIfTraversalIsDisabled()
789
{
790
-
+ $entity = new Entity();
791
$entity->reference = new \ArrayIterator();
792
793
$this->metadata->addPropertyConstraint('reference', new Valid([
@@ -796,7 +796,7 @@ public function testMetadataMustExistIfTraversalIsDisabled()
796
797
$this->expectException(NoSuchMetadataException::class);
798
799
- $this->validate(new Entity());
+ $this->validate($entity);
800
}
801
802
public function testEnableRecursiveTraversableTraversal()
0 commit comments