Skip to content

Commit 335d792

Browse files
committed
replace assertEmpty() with stricter assertions
1 parent a95a6e8 commit 335d792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Validator/DoctrineLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function testClassNoAutoMapping()
210210
$this->assertSame(AutoMappingStrategy::DISABLED, $classMetadata->getAutoMappingStrategy());
211211

212212
$maxLengthMetadata = $classMetadata->getPropertyMetadata('maxLength');
213-
$this->assertEmpty($maxLengthMetadata);
213+
$this->assertSame([], $maxLengthMetadata);
214214

215215
/** @var PropertyMetadata[] $autoMappingExplicitlyEnabledMetadata */
216216
$autoMappingExplicitlyEnabledMetadata = $classMetadata->getPropertyMetadata('autoMappingExplicitlyEnabled');

0 commit comments

Comments
 (0)