Skip to content

Commit ca2eab9

Browse files
committed
Attempt to fix the tests and adding both version for webonyx/graphql-php.
1 parent 627ce0f commit ca2eab9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/testing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- name: Install GraphQL dependencies
9494
run: |
9595
composer --no-interaction --no-progress require \
96-
webonyx/graphql-php:^15.12 \
96+
webonyx/graphql-php:^14.8 \
9797
drupal/typed_data:^2.0 \
9898
drupal/redirect:dev-1.x
9999

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"require": {
88
"drupal/typed_data": "^1.0 || ^2.0",
99
"php": ">=8.0",
10-
"webonyx/graphql-php": "^15.12.0"
10+
"webonyx/graphql-php": "^14.8.0"
1111
},
1212
"minimum-stability": "dev"
1313
}

tests/src/Kernel/DataProducer/DefaultValueTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function testLegacyDefaultValueSetting(bool $populate_setting, string $te
5454
/**
5555
* Data provider for the testLegacyDefaultValueSetting test.
5656
*/
57-
public function settingsProvider(): array {
57+
public static function settingsProvider(): array {
5858
return [
5959
[FALSE, TestLegacyEntityLoad::class],
6060
[TRUE, TestNewEntityLoad::class],

0 commit comments

Comments
 (0)