Skip to content

Commit

Permalink
fix mock data.
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlindaruk committed May 31, 2018
1 parent f27799c commit 179b6fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Database/DatabaseSoftDeletingTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function testDeleteSetsSoftDeletedColumn()
'deleted_at' => 'date-time',
'updated_at' => 'date-time',
]);
$query->shouldReceive('syncOriginal')->once();
$model->delete();

$this->assertInstanceOf(\Illuminate\Support\Carbon::class, $model->deleted_at);
Expand Down

0 comments on commit 179b6fc

Please sign in to comment.