Skip to content

Commit

Permalink
Explicit load
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed Dec 23, 2022
1 parent 7fb0434 commit 3d40611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@
"Drupal\\Exception": "src/",
"Drupal\\DrupalExtension": "src/",
"Drupal\\MinkExtension": "src/"
},
"classmap": [
"src/Drupal/DocumentElement.php"
]
}
},
"extra": {
"branch-alias": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function load(ContainerBuilder $container, array $config)
// of the page, pieces of texts inside the <head> section.
// @see https://github.com/minkphp/MinkBrowserKitDriver/issues/153
// @see https://www.drupal.org/project/drupal/issues/3175718
require_once(__DIR__ . '/../../DocumentElement.php');
class_alias('\Drupal\DocumentElement', '\Behat\Mink\Element\DocumentElement', true);

$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/config'));
Expand Down

0 comments on commit 3d40611

Please sign in to comment.