@@ -5,18 +5,13 @@ |
||
5 | 5 | use Behat\MinkExtension\Context\RawMinkContext; |
6 | 6 | use Behat\Testwork\Hook\HookDispatcher; |
7 | 7 | use Behat\Behat\Context\Environment\InitializedContextEnvironment; |
8 | - |
|
9 | 8 | use Drupal\DrupalDriverManagerInterface; |
10 | 9 | use Drupal\DrupalExtension\DrupalParametersTrait; |
11 | 10 | use Drupal\DrupalExtension\Manager\DrupalAuthenticationManagerInterface; |
12 | 11 | use Drupal\DrupalExtension\Manager\DrupalUserManagerInterface; |
13 | - |
|
14 | -use Drupal\DrupalExtension\Hook\Scope\AfterLanguageEnableScope; |
|
15 | 12 | use Drupal\DrupalExtension\Hook\Scope\AfterNodeCreateScope; |
16 | 13 | use Drupal\DrupalExtension\Hook\Scope\AfterTermCreateScope; |
17 | 14 | use Drupal\DrupalExtension\Hook\Scope\AfterUserCreateScope; |
18 | -use Drupal\DrupalExtension\Hook\Scope\BaseEntityScope; |
|
19 | -use Drupal\DrupalExtension\Hook\Scope\BeforeLanguageEnableScope; |
|
20 | 15 | use Drupal\DrupalExtension\Hook\Scope\BeforeNodeCreateScope; |
21 | 16 | use Drupal\DrupalExtension\Hook\Scope\BeforeUserCreateScope; |
22 | 17 | use Drupal\DrupalExtension\Hook\Scope\BeforeTermCreateScope; |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * |
58 | 58 | * Other scenarios get the `default_driver` as the default driver. |
59 | 59 | * |
60 | - * @param ScenarioTested|OutlineEvent $event |
|
60 | + * @param LifecycleEvent $event |
|
61 | 61 | */ |
62 | 62 | public function prepareDefaultDrupalDriver(LifecycleEvent $event) |
63 | 63 | { |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Behat\Behat\EventDispatcher\Event\ExampleTested; |
6 | 6 | use Behat\Behat\EventDispatcher\Event\ScenarioLikeTested; |
7 | 7 | use Behat\Behat\EventDispatcher\Event\ScenarioTested; |
8 | - |
|
9 | 8 | use Behat\Testwork\EventDispatcher\Event\LifecycleEvent; |
10 | 9 | use Drupal\DrupalDriverManager; |
11 | - |
|
12 | 10 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
13 | 11 | |
14 | 12 | /** |