Skip to content

Commit 33f3dc8

Browse files
authored
apply Pint rule "no_spaces_around_offset" (#54970)
1 parent da25de4 commit 33f3dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Database/DatabaseQueryBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6150,7 +6150,7 @@ public function testCursorPaginateWithUnionMultipleWheresMultipleOrders()
61506150
'(select "id", "start_time" as "created_at", "type" from "videos" where "extra" = ? and ("id" > ? or ("id" = ? and ("start_time" < ? or ("start_time" = ? and ("type" > ?)))))) union (select "id", "created_at", "type" from "news" where "extra" = ? and ("id" > ? or ("id" = ? and ("start_time" < ? or ("start_time" = ? and ("type" > ?)))))) union (select "id", "created_at", "type" from "podcasts" where "extra" = ? and ("id" > ? or ("id" = ? and ("start_time" < ? or ("start_time" = ? and ("type" > ?)))))) order by "id" asc, "created_at" desc, "type" asc limit 17',
61516151
$builder->toSql());
61526152
$this->assertEquals(['first', 1, 1, $ts, $ts, 'news'], $builder->bindings['where']);
6153-
$this->assertEquals(['second', 1, 1, $ts, $ts, 'news', 'third', 1, 1, $ts, $ts, 'news'], $builder->bindings ['union']);
6153+
$this->assertEquals(['second', 1, 1, $ts, $ts, 'news', 'third', 1, 1, $ts, $ts, 'news'], $builder->bindings['union']);
61546154

61556155
return $results;
61566156
});

0 commit comments

Comments
 (0)