Skip to content

Commit 6a2829c

Browse files
pmelabfubhy
authored andcommitted
Basemodule cleanup. (#374)
1 parent 8514a44 commit 6a2829c

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

src/Plugin/GraphQL/Fields/JsonPathToUrl.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Drupal\graphql_json\Plugin\GraphQL\Fields;
44

55
use Drupal\Component\Utility\NestedArray;
6-
use Drupal\graphql_core\Plugin\GraphQL\Fields\Route;
6+
use Drupal\graphql_core\Plugin\GraphQL\Fields\Routing\Route;
77
use Youshido\GraphQL\Execution\ResolveInfo;
88

99
/**

src/Plugin/GraphQL/Fields/JsonResponseContent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Drupal\graphql_json\Plugin\GraphQL\Fields;
44

5-
use Drupal\graphql_core\Plugin\GraphQL\Fields\ResponseContent;
5+
use Drupal\graphql_core\Plugin\GraphQL\Fields\Routing\ResponseContent;
66
use Youshido\GraphQL\Execution\ResolveInfo;
77

88
/**

tests/src/Kernel/JsonEntitySerializeTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Drupal\Core\Entity\EntityRepositoryInterface;
77
use Drupal\node\Entity\Node;
88
use Drupal\node\NodeInterface;
9-
use Drupal\Tests\graphql_core\Kernel\GraphQLFileTestBase;
9+
use Drupal\Tests\graphql\Kernel\GraphQLFileTestBase;
1010
use Drupal\user\Entity\Role;
1111
use GuzzleHttp\ClientInterface;
1212
use GuzzleHttp\Psr7\Response;
@@ -24,6 +24,7 @@ class JsonEntitySerializeTest extends GraphQLFileTestBase {
2424
public static $modules = [
2525
'node',
2626
'serialization',
27+
'graphql_core',
2728
'graphql_content',
2829
'graphql_json',
2930
];

tests/src/Kernel/JsonEntityTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use Drupal\Core\Entity\EntityRepositoryInterface;
77
use Drupal\node\Entity\Node;
88
use Drupal\node\NodeInterface;
9-
use Drupal\Tests\graphql_core\Kernel\GraphQLFileTestBase;
9+
use Drupal\Tests\graphql\Kernel\GraphQLFileTestBase;
1010
use Drupal\user\Entity\Role;
1111
use GuzzleHttp\ClientInterface;
1212
use GuzzleHttp\Psr7\Response;
@@ -23,6 +23,7 @@ class JsonEntityTest extends GraphQLFileTestBase {
2323
*/
2424
public static $modules = [
2525
'node',
26+
'graphql_core',
2627
'graphql_content',
2728
'graphql_json',
2829
];

tests/src/Kernel/JsonFieldTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use Drupal\node\Entity\NodeType;
1515
use Drupal\simpletest\ContentTypeCreationTrait;
1616
use Drupal\simpletest\NodeCreationTrait;
17-
use Drupal\Tests\graphql_core\Traits\GraphQLFileTestTrait;
17+
use Drupal\Tests\graphql\Traits\GraphQLFileTestTrait;
1818
use Drupal\user\Entity\Role;
1919

2020
/**
@@ -37,6 +37,7 @@ class JsonFieldTest extends KernelTestBase {
3737
'node',
3838
'user',
3939
'graphql',
40+
'graphql_test',
4041
'graphql_core',
4142
'graphql_content',
4243
'graphql_file',

tests/src/Kernel/JsonStructureTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Drupal\Tests\graphql_json\Kernel;
44

55

6-
use Drupal\Tests\graphql_core\Kernel\GraphQLFileTestBase;
6+
use Drupal\Tests\graphql\Kernel\GraphQLFileTestBase;
77
use GuzzleHttp\ClientInterface;
88
use GuzzleHttp\Psr7\Response;
99

@@ -18,6 +18,7 @@ class JsonStructureTest extends GraphQLFileTestBase {
1818
* {@inheritdoc}
1919
*/
2020
public static $modules = [
21+
'graphql_core',
2122
'graphql_content',
2223
'graphql_json',
2324
];

tests/src/Kernel/JsonUrlTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Drupal\Tests\graphql_json\Kernel;
44

55

6-
use Drupal\Tests\graphql_core\Kernel\GraphQLFileTestBase;
6+
use Drupal\Tests\graphql\Kernel\GraphQLFileTestBase;
77
use GuzzleHttp\ClientInterface;
88
use GuzzleHttp\Psr7\Response;
99

@@ -18,6 +18,7 @@ class JsonUrlTest extends GraphQLFileTestBase {
1818
* {@inheritdoc}
1919
*/
2020
public static $modules = [
21+
'graphql_core',
2122
'graphql_content',
2223
'graphql_json',
2324
];

0 commit comments

Comments
 (0)