Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Drupal 10 compatibility issues #43

Open
wants to merge 1 commit into
base: 8.x-1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions graphql_views.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: GraphQL Views
type: module
description: 'Adds support for views.'
package: GraphQL
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9 || ^10
dependencies:
- graphql:graphql_core
- drupal:views
Expand Down
3 changes: 1 addition & 2 deletions tests/modules/graphql_views_test/graphql_views_test.info.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: 'GraphQL Views Test'
description: 'Test configurations for GraphQL views integration.'
type: module
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9 || ^10
dependencies:
- graphql_views
- graphql_content_test
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/ContextualViewsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ContextualViewsTest extends ViewsTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->createContentType(['type' => 'test2']);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Kernel/ViewsTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ abstract class ViewsTestBase extends GraphQLContentTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'node',
'field',
'filter',
Expand All @@ -44,7 +44,7 @@ abstract class ViewsTestBase extends GraphQLContentTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installEntitySchema('view');
$this->installEntitySchema('taxonomy_term');
Expand Down