From 179b6fc9cd9b82d9972674c657a57baddcd1028d Mon Sep 17 00:00:00 2001 From: Tetiana Blindaruk Date: Thu, 31 May 2018 21:19:43 +0300 Subject: [PATCH] fix mock data. --- tests/Database/DatabaseSoftDeletingTraitTest.php | 1 + 1 file changed, 1 insertion(+) 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);