File tree Expand file tree Collapse file tree 3 files changed +6
-16
lines changed
tests/Database/SelectFields/PrimaryKeyTests Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 66use GraphQL \Type \Definition \Type ;
77use Rebing \GraphQL \Support \Facades \GraphQL ;
88use Rebing \GraphQL \Support \InterfaceType ;
9- use Rebing \GraphQL \Support \Type as GraphQLType ;
10- use Rebing \GraphQL \Tests \Support \Models \Post ;
119
1210class ModelInterfaceType extends InterfaceType
1311{
Original file line number Diff line number Diff line change 33declare (strict_types = 1 );
44namespace Rebing \GraphQL \Tests \Database \SelectFields \PrimaryKeyTests ;
55
6- use Rebing \GraphQL \Tests \Database \SelectFields \PrimaryKeyTests \ModelInterfaceType ;
7- use Rebing \GraphQL \Tests \Database \SelectFields \PrimaryKeyTests \PrimaryKeyInterfacePaginationQuery ;
86use Rebing \GraphQL \Tests \Support \Models \Comment ;
97use Rebing \GraphQL \Tests \Support \Models \Post ;
108use Rebing \GraphQL \Tests \Support \Traits \SqlAssertionTrait ;
@@ -135,12 +133,12 @@ public function testInterfacePagination(): void
135133
136134 $ result = $ this ->httpGraphql ($ query );
137135
138- // $this->assertSqlQueries(
139- // <<<'SQL'
140- //select count(*) as aggregate from "posts";
141- //select "posts"."id" from "posts" limit 1 offset 0;
142- //SQL
143- // );
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+ // );
144142
145143 $ expectedResult = [
146144 'data ' => [
Original file line number Diff line number Diff line change 33declare (strict_types = 1 );
44namespace Rebing \GraphQL \Tests \Database \SelectFields \PrimaryKeyTests ;
55
6- use Closure ;
7- use GraphQL \Type \Definition \ResolveInfo ;
86use GraphQL \Type \Definition \Type ;
97use Rebing \GraphQL \Support \Facades \GraphQL ;
10- use Rebing \GraphQL \Support \Query ;
11- use Rebing \GraphQL \Support \SelectFields ;
12- use Rebing \GraphQL \Tests \Database \SelectFields \PrimaryKeyTests \PrimaryKeyPaginationQuery ;
13- use Rebing \GraphQL \Tests \Support \Models \Post ;
148
159class PrimaryKeyInterfacePaginationQuery extends PrimaryKeyPaginationQuery
1610{
You can’t perform that action at this time.
0 commit comments