Skip to content

Commit db53a3c

Browse files
committed
fix-style
1 parent 392c17d commit db53a3c

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

tests/Database/SelectFields/PrimaryKeyTests/ModelInterfaceType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
use GraphQL\Type\Definition\Type;
77
use Rebing\GraphQL\Support\Facades\GraphQL;
88
use Rebing\GraphQL\Support\InterfaceType;
9-
use Rebing\GraphQL\Support\Type as GraphQLType;
10-
use Rebing\GraphQL\Tests\Support\Models\Post;
119

1210
class ModelInterfaceType extends InterfaceType
1311
{

tests/Database/SelectFields/PrimaryKeyTests/PaginationTest.php

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
declare(strict_types = 1);
44
namespace 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;
86
use Rebing\GraphQL\Tests\Support\Models\Comment;
97
use Rebing\GraphQL\Tests\Support\Models\Post;
108
use 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' => [

tests/Database/SelectFields/PrimaryKeyTests/PrimaryKeyInterfacePaginationQuery.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@
33
declare(strict_types = 1);
44
namespace Rebing\GraphQL\Tests\Database\SelectFields\PrimaryKeyTests;
55

6-
use Closure;
7-
use GraphQL\Type\Definition\ResolveInfo;
86
use GraphQL\Type\Definition\Type;
97
use 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

159
class PrimaryKeyInterfacePaginationQuery extends PrimaryKeyPaginationQuery
1610
{

0 commit comments

Comments
 (0)