Skip to content

Commit a901c3a

Browse files
committed
tests: enabled SQL snapshot
1 parent 02ff391 commit a901c3a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Database/SelectFields/PrimaryKeyTests/PaginationTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ public function testInterfacePagination(): void
133133

134134
$result = $this->httpGraphql($query);
135135

136-
// $this->assertSqlQueries(
137-
// <<<'SQL'
138-
//select count(*) as aggregate from "posts";
139-
//select "posts"."id" from "posts" limit 1 offset 0;
140-
//SQL
141-
// );
136+
$this->assertSqlQueries(
137+
<<<'SQL'
138+
select count(*) as aggregate from "posts";
139+
select * from "posts" limit 1 offset 0;
140+
SQL
141+
);
142142

143143
$expectedResult = [
144144
'data' => [

0 commit comments

Comments
 (0)