Skip to content

Commit 908b152

Browse files
author
Luis
committed
Testing: Fix user_install function
1 parent ddb3d6d commit 908b152

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/graphql_core/tests/src/Kernel/GraphQLCoreTestBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class GraphQLCoreTestBase extends GraphQLTestBase {
2424
protected function setUp(): void {
2525
parent::setUp();
2626
// User entity schema is required for the currentUserContext field.
27+
$this->container->get('module_handler')->loadInclude('user', 'install');
2728
$this->installEntitySchema('user');
28-
\Drupal::moduleHandler()->loadInclude('install', 'user', 'user');
2929
user_install();
3030
}
3131

0 commit comments

Comments
 (0)