Skip to content

Commit

Permalink
tests: enabled SQL snapshot
Browse files Browse the repository at this point in the history
mfn committed Mar 6, 2024
1 parent 02ff391 commit a901c3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Database/SelectFields/PrimaryKeyTests/PaginationTest.php
Original file line number Diff line number Diff line change
@@ -133,12 +133,12 @@ public function testInterfacePagination(): void

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

// $this->assertSqlQueries(
// <<<'SQL'
//select count(*) as aggregate from "posts";
//select "posts"."id" from "posts" limit 1 offset 0;
//SQL
// );
$this->assertSqlQueries(
<<<'SQL'
select count(*) as aggregate from "posts";
select * from "posts" limit 1 offset 0;
SQL
);

$expectedResult = [
'data' => [

0 comments on commit a901c3a

Please sign in to comment.