From 084381f3d471f9aa52d3bd3aec16526cd065d225 Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Wed, 25 Mar 2020 16:36:53 +0200 Subject: [PATCH] Issue #3113113: Drupal 9 readiness for [Varbase distribution] installation profile with Drupal coding standard and practice --- behat.varbase.yml | 4 ++-- tests/features/bootstrap/SelectorsContext.php | 2 +- tests/features/bootstrap/VarbaseContext.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/behat.varbase.yml b/behat.varbase.yml index dc8274e1..4bc50a0f 100644 --- a/behat.varbase.yml +++ b/behat.varbase.yml @@ -6,7 +6,7 @@ default: paths: - %paths.base%/tests/features contexts: - - Drupal\varbase\tests\features\bootstrap\VarbaseContext: + - VarbaseContext: parameters: varbase_users: webmaster: { email: 'webmaster@vardot.com', password: 'dD.123123ddd' } @@ -16,7 +16,7 @@ default: test_seo_admin: { email: 'seo.admin.test@vardot.com', password: 'dD.123123ddd' } test_site_admin: { email: 'site.admin.test@vardot.com', password: 'dD.123123ddd' } test_super_admin: { email: 'super.admin.test@vardot.com', password: 'dD.123123ddd' } - - Drupal\varbase\tests\features\bootstrap\SelectorsContext: + - SelectorsContext: parameters: selectors: ## Add all css selectors which you will use in most features. diff --git a/tests/features/bootstrap/SelectorsContext.php b/tests/features/bootstrap/SelectorsContext.php index 4f35c2b5..b7bb1622 100644 --- a/tests/features/bootstrap/SelectorsContext.php +++ b/tests/features/bootstrap/SelectorsContext.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\varbase\tests\features\bootstrap; +namespace Drupal\DrupalExtension\Context; use Drupal\DrupalExtension\Context\RawDrupalContext; use Behat\Behat\Context\SnippetAcceptingContext; diff --git a/tests/features/bootstrap/VarbaseContext.php b/tests/features/bootstrap/VarbaseContext.php index 830c6e46..4d5156af 100644 --- a/tests/features/bootstrap/VarbaseContext.php +++ b/tests/features/bootstrap/VarbaseContext.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\varbase\tests\features\bootstrap; +namespace Drupal\DrupalExtension\Context; use WebDriver\Exception; use Drupal\DrupalExtension\Context\RawDrupalContext; -- GitLab