Skip to content

Commit b7a1442

Browse files
committed
replace assertEmpty() with stricter assertions
1 parent 1a41a2b commit b7a1442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/PropertyAccessorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ public function testWriteToSingularPropertyWhilePluralOneExists()
832832
$this->propertyAccessor->setValue($object, 'email', '[email protected]');
833833

834834
self::assertEquals('[email protected]', $object->getEmail());
835-
self::assertEmpty($object->getEmails());
835+
self::assertSame([], $object->getEmails());
836836
}
837837

838838
public function testWriteToPluralPropertyWhileSingularOneExists()

0 commit comments

Comments
 (0)