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.
2 parents 76e16e8 + d6cda62 commit b371dedCopy full SHA for b371ded
Tests/Validator/DoctrineLoaderTest.php
@@ -214,7 +214,7 @@ public function testClassNoAutoMapping()
214
215
/** @var PropertyMetadata[] $autoMappingExplicitlyEnabledMetadata */
216
$autoMappingExplicitlyEnabledMetadata = $classMetadata->getPropertyMetadata('autoMappingExplicitlyEnabled');
217
- $this->assertCount(1, $autoMappingExplicitlyEnabledMetadata[0]->constraints);
+ $this->assertCount(1, $autoMappingExplicitlyEnabledMetadata[0]->getConstraints());
218
$this->assertSame(AutoMappingStrategy::ENABLED, $autoMappingExplicitlyEnabledMetadata[0]->getAutoMappingStrategy());
219
}
220
0 commit comments