From 5c78e4645af9ad4c0e5791c80fd34cf445d682ad Mon Sep 17 00:00:00 2001 From: Jonas Staudenmeir Date: Fri, 12 Apr 2019 19:25:26 +0200 Subject: [PATCH] Improve code coverage --- tests/BelongsToThroughTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/BelongsToThroughTest.php b/tests/BelongsToThroughTest.php index 7630185..5666787 100644 --- a/tests/BelongsToThroughTest.php +++ b/tests/BelongsToThroughTest.php @@ -94,7 +94,7 @@ public function testWithTrashed() public function testWithTrashedIntermediate() { $country = Comment::find(33)->country() - ->withTrashed('users.deleted_at') + ->withTrashed(['users.deleted_at']) ->first(); $this->assertEquals(3, $country->id);