Skip to content

Commit

Permalink
Testing: Fix user_install function
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis committed Sep 7, 2023
1 parent ddb3d6d commit 908b152
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class GraphQLCoreTestBase extends GraphQLTestBase {
protected function setUp(): void {
parent::setUp();
// User entity schema is required for the currentUserContext field.
$this->container->get('module_handler')->loadInclude('user', 'install');
$this->installEntitySchema('user');
\Drupal::moduleHandler()->loadInclude('install', 'user', 'user');
user_install();
}

Expand Down

0 comments on commit 908b152

Please sign in to comment.