Skip to content

Commit

Permalink
Expect the returned count to be 0
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Nov 19, 2020
1 parent 17cf511 commit 777e40a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Database/DatabaseEloquentModelTest.php
Expand Up @@ -300,7 +300,8 @@ public function testDestroyMethodCallsQueryBuilderCorrectlyWithMultipleArgs()

public function testDestroyMethodCallsQueryBuilderCorrectlyWithEmptyIds()
{
EloquentModelEmptyDestroyStub::destroy([]);
$count = EloquentModelEmptyDestroyStub::destroy([]);
$this->assertSame(0, $count);
}

public function testWithMethodCallsQueryBuilderCorrectly()
Expand Down

0 comments on commit 777e40a

Please sign in to comment.