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);