Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jun 23, 2020
1 parent e3c86b6 commit 9f31228
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ public function testGetOriginalWithCastValueObjects()
$this->assertEquals('117 Spencer St.', $model->address->lineOne);
$this->assertEquals('110 Kingsbrook St.', $model->getOriginal()['address_line_one']);
$this->assertEquals('117 Spencer St.', $model->address->lineOne);
$this->assertEquals('110 Kingsbrook St.', $model->getOriginal()['address_line_one']);

$model = new TestEloquentModelWithCustomCast([
'address' => new Address('110 Kingsbrook St.', 'My Childhood House'),
Expand Down

0 comments on commit 9f31228

Please sign in to comment.