Skip to content

Commit 1819fa1

Browse files
author
Pooya Parsa
committed
fill unit tests
1 parent f1f5895 commit 1819fa1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/ModelTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,13 @@ public function testDotNotation()
486486
$this->assertEquals('Paris', $user->getAttribute('address.city'));
487487
$this->assertEquals('Paris', $user['address.city']);
488488
$this->assertEquals('Paris', $user->{'address.city'});
489+
490+
// Fill
491+
$user->fill([
492+
'address.city'=>'Strasbourg',
493+
]);
494+
495+
$this->assertEquals('Strasbourg', $user['address.city']);
489496
}
490497

491498
public function testGetDirtyDates()

0 commit comments

Comments
 (0)