Skip to content

Commit b230d34

Browse files
committed
fix: additional coverage
1 parent 720d906 commit b230d34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Unit/CollectionOfJsonModelsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ public function testElementsThatExistWhenCollectionIsCreatedExist()
378378
->fresh();
379379
self::assertCount(1, $collection);
380380
self::assertTrue($collection[0]->exists);
381+
self::assertFalse($collection[0]->isDirty());
381382
}
382383

383384
public function testSaveCollectionSkipsCreatingListenerForExistingChildren()

0 commit comments

Comments
 (0)