diff --git a/tests/Database/DatabaseSoftDeletingTraitTest.php b/tests/Database/DatabaseSoftDeletingTraitTest.php index ca076439ca3d..3b436fe6f519 100644 --- a/tests/Database/DatabaseSoftDeletingTraitTest.php +++ b/tests/Database/DatabaseSoftDeletingTraitTest.php @@ -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);