@@ -11,8 +11,8 @@ |
||
| 11 | 11 | // Helpers. |
| 12 | 12 | use Behat\Mink\Element\NodeElement; |
| 13 | 13 | // Utils. |
| 14 | -use Drupal\TqExtension\Utils\XPath; |
|
| 15 | 14 | use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
| 15 | +use Drupal\TqExtension\Utils\XPath; |
|
| 16 | 16 | |
| 17 | 17 | class RawPageContext extends RawDrupalContext |
| 18 | 18 | { |
@@ -7,9 +7,9 @@ |
||
| 7 | 7 | // Scope definitions. |
| 8 | 8 | use Behat\Behat\Hook\Scope; |
| 9 | 9 | // Utils. |
| 10 | +use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
|
| 10 | 11 | use Drupal\TqExtension\Utils\Database\Database; |
| 11 | 12 | use Drupal\TqExtension\Utils\LogicalAssertion; |
| 12 | -use Drupal\TqExtension\Cores\DrupalKernelPlaceholder; |
|
| 13 | 13 | |
| 14 | 14 | class TqContext extends RawTqContext |
| 15 | 15 | { |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | static $original = 'php_mail'; |
| 166 | 166 | |
| 167 | 167 | $systemMail = \Drupal::configFactory() |
| 168 | - ->getEditable('system.mail'); |
|
| 168 | + ->getEditable('system.mail'); |
|
| 169 | 169 | |
| 170 | 170 | if ($useTesting) { |
| 171 | 171 | // Store original mail system to restore it after scenario. |
@@ -4,14 +4,14 @@ |
||
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | use Behat\Behat\Hook\Scope\BeforeFeatureScope; |
| 7 | -use Drupal\Core\Field\FieldDefinitionInterface; |
|
| 8 | -use Drupal\Core\Entity\FieldableEntityInterface; |
|
| 9 | -use Drupal\Core\Session\AccountInterface; |
|
| 7 | +use Drupal\Component\Render\FormattableMarkup; |
|
| 8 | +use Drupal\Component\Serialization\Json; |
|
| 10 | 9 | use Drupal\Core\Database\Database; |
| 11 | 10 | use Drupal\Core\Database\Query\Select; |
| 11 | +use Drupal\Core\Entity\FieldableEntityInterface; |
|
| 12 | +use Drupal\Core\Field\FieldDefinitionInterface; |
|
| 13 | +use Drupal\Core\Session\AccountInterface; |
|
| 12 | 14 | use Drupal\Core\StringTranslation\TranslatableMarkup; |
| 13 | -use Drupal\Component\Render\FormattableMarkup; |
|
| 14 | -use Drupal\Component\Serialization\Json; |
|
| 15 | 15 | use Drupal\TqExtension\Utils\Database\FetchField; |
| 16 | 16 | |
| 17 | 17 | // @codingStandardsIgnoreStart |
@@ -290,8 +290,8 @@ |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | $url += [ |
| 293 | - // When URL starts from "//" the "scheme" key will not exists. |
|
| 294 | - 'scheme' => 'http', |
|
| 293 | + // When URL starts from "//" the "scheme" key will not exists. |
|
| 294 | + 'scheme' => 'http', |
|
| 295 | 295 | ]; |
| 296 | 296 | |
| 297 | 297 | // Check scheme. |