Skip to content

Commit 4b0560b

Browse files
committed
Fix test
1 parent 7ba599b commit 4b0560b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/JoinRelationshipExtraConditionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function test_extra_conditions_with_closure()
191191
User::joinRelationship('publishedPosts')->get();
192192

193193
$this->assertStringContainsString(
194-
'inner join "posts" on "posts"."user_id" = "users"."id" and "published" = ?',
194+
'inner join "posts" on "posts"."user_id" = "users"."id" and ("published" = ?)',
195195
$query
196196
);
197197
}

0 commit comments

Comments
 (0)