Skip to content

Commit affaa3c

Browse files
committed
Fix tests
1 parent 9714911 commit affaa3c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/Feature/Mssql/Reader/EntityReaderTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public static function dataGetSql(): array
2424
[user].[born_at] AS [c4],
2525
ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) AS [_ROW_NUMBER_]
2626
FROM [user] AS [user]
27+
WHERE ((1=1))
2728
) AS [ORD_FALLBACK]
2829
WHERE [_ROW_NUMBER_] BETWEEN 2 AND 3
2930
SQL,

tests/Feature/Mysql/Reader/EntityReaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static function dataGetSql(): array
2121
`user`.`email` AS `c2`,
2222
`user`.`balance` AS `c3`,
2323
`user`.`born_at` AS `c4`
24-
FROM `user` AS `user` LIMIT 2 OFFSET 1
24+
FROM `user` AS `user` WHERE ((1 = 1)) LIMIT 2 OFFSET 1
2525
SQL,
2626
],
2727
];

0 commit comments

Comments
 (0)