From 777e40a35193384fbc0f0be2c3900151a61df999 Mon Sep 17 00:00:00 2001 From: Benedikt Franke Date: Thu, 19 Nov 2020 17:11:50 +0100 Subject: [PATCH] Expect the returned count to be 0 --- tests/Database/DatabaseEloquentModelTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Database/DatabaseEloquentModelTest.php b/tests/Database/DatabaseEloquentModelTest.php index b9f9758cd031..114c4ae6f5c2 100755 --- a/tests/Database/DatabaseEloquentModelTest.php +++ b/tests/Database/DatabaseEloquentModelTest.php @@ -300,7 +300,8 @@ public function testDestroyMethodCallsQueryBuilderCorrectlyWithMultipleArgs() public function testDestroyMethodCallsQueryBuilderCorrectlyWithEmptyIds() { - EloquentModelEmptyDestroyStub::destroy([]); + $count = EloquentModelEmptyDestroyStub::destroy([]); + $this->assertSame(0, $count); } public function testWithMethodCallsQueryBuilderCorrectly()