File tree Expand file tree Collapse file tree 4 files changed +16
-22
lines changed Expand file tree Collapse file tree 4 files changed +16
-22
lines changed Original file line number Diff line number Diff line change 14
14
- SIMPLETEST_DB=mysql://root:@127.0.0.1/graphql
15
15
- TRAVIS=true
16
16
matrix :
17
- - DRUPAL_CORE=8.3.x
18
17
- DRUPAL_CORE=8.4.x
19
18
- DRUPAL_CORE=8.5.x
19
+ - DRUPAL_CORE=8.6.x
20
20
21
21
matrix :
22
22
# Don't wait for the allowed failures to build.
23
23
fast_finish : true
24
24
include :
25
25
- php : 7.1
26
26
env :
27
- - DRUPAL_CORE=8.5 .x
27
+ - DRUPAL_CORE=8.6 .x
28
28
# Only run code coverage on the latest php and drupal versions.
29
29
- WITH_PHPDBG_COVERAGE=true
30
30
allow_failures :
31
31
# Allow the code coverage report to fail.
32
32
- php : 7.1
33
33
env :
34
- - DRUPAL_CORE=8.5 .x
34
+ - DRUPAL_CORE=8.6 .x
35
35
# Only run code coverage on the latest php and drupal versions.
36
36
- WITH_PHPDBG_COVERAGE=true
37
37
@@ -93,7 +93,12 @@ install:
93
93
94
94
# Bring in the module dependencies without requiring a merge plugin. The
95
95
# require also triggers a full 'composer install'.
96
- - composer --working-dir=$DRUPAL_BUILD_DIR require webonyx/graphql-php:^0.11.5
96
+ - composer --working-dir=$DRUPAL_BUILD_DIR require webonyx/graphql-php:^0.12.6
97
+
98
+ # Update PHPUnit for Drupal version >= 8.5.0
99
+ - if [[ "$DRUPAL_CORE" != "8.4.x" ]];
100
+ then composer --working-dir=$DRUPAL_BUILD_DIR run-script drupal-phpunit-upgrade;
101
+ fi
97
102
98
103
script :
99
104
# Run the unit tests using phpdbg if the environment variable is 'true'.
Original file line number Diff line number Diff line change @@ -4,5 +4,6 @@ description: 'Adds support for views.'
4
4
package : GraphQL
5
5
core : 8.x
6
6
dependencies :
7
- - graphql_core
8
- - views
7
+ - graphql:graphql_core
8
+ - drupal:views
9
+ - drupal:system (>=8.4)
Original file line number Diff line number Diff line change 8
8
use Drupal \taxonomy \Entity \Term ;
9
9
use Drupal \taxonomy \Entity \Vocabulary ;
10
10
use Drupal \user \Entity \Role ;
11
+ use Drupal \Tests \graphql_core \Kernel \GraphQLContentTestBase ;
12
+ use Drupal \Tests \taxonomy \Functional \TaxonomyTestTrait ;
11
13
12
14
/**
13
15
* Base class for test views support in GraphQL.
14
16
*
15
17
* @group graphql_views
16
18
*/
17
- abstract class ViewsTestBase extends ViewsTestBaseDeprecationFix {
19
+ abstract class ViewsTestBase extends GraphQLContentTestBase {
18
20
use NodeCreationTrait;
19
21
use ContentTypeCreationTrait;
20
22
use EntityReferenceTestTrait;
23
+ use TaxonomyTestTrait;
21
24
22
25
/**
23
26
* {@inheritdoc}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments