From bc455379e3cd228d1663c1ab3e1e183734881684 Mon Sep 17 00:00:00 2001 From: tuutti Date: Thu, 14 Sep 2023 12:04:41 +0300 Subject: [PATCH] Moved existing site test bases under regular functional test folder because Drupal does not seem to recognize the namespace otherwise --- .../{ExistingSite => Functional}/ExistingSiteTestBase.php | 2 +- .../ExistingSiteJavascriptTestBase.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename tests/src/{ExistingSite => Functional}/ExistingSiteTestBase.php (91%) rename tests/src/{ExistingSiteJavascript => FunctionalJavascript}/ExistingSiteJavascriptTestBase.php (76%) diff --git a/tests/src/ExistingSite/ExistingSiteTestBase.php b/tests/src/Functional/ExistingSiteTestBase.php similarity index 91% rename from tests/src/ExistingSite/ExistingSiteTestBase.php rename to tests/src/Functional/ExistingSiteTestBase.php index d6fedd8a..31a9a827 100644 --- a/tests/src/ExistingSite/ExistingSiteTestBase.php +++ b/tests/src/Functional/ExistingSiteTestBase.php @@ -2,7 +2,7 @@ declare(strict_types = 1); -namespace Drupal\Tests\helfi_api_base\ExistingSite; +namespace Drupal\Tests\helfi_api_base\Functional; use Drupal\Tests\helfi_api_base\Traits\DefaultConfigurationTrait; use weitzman\DrupalTestTraits\ExistingSiteBase; diff --git a/tests/src/ExistingSiteJavascript/ExistingSiteJavascriptTestBase.php b/tests/src/FunctionalJavascript/ExistingSiteJavascriptTestBase.php similarity index 76% rename from tests/src/ExistingSiteJavascript/ExistingSiteJavascriptTestBase.php rename to tests/src/FunctionalJavascript/ExistingSiteJavascriptTestBase.php index e1a907f9..c31fec53 100644 --- a/tests/src/ExistingSiteJavascript/ExistingSiteJavascriptTestBase.php +++ b/tests/src/FunctionalJavascript/ExistingSiteJavascriptTestBase.php @@ -2,15 +2,15 @@ declare(strict_types = 1); -namespace Drupal\Tests\helfi_api_base\ExistingSiteJavascript; +namespace Drupal\Tests\helfi_api_base\FunctionalJavascript; use Drupal\Tests\helfi_api_base\Traits\DefaultConfigurationTrait; -use weitzman\DrupalTestTraits\ExistingSiteWebDriverTestBase; +use weitzman\DrupalTestTraits\ExistingSiteSelenium2DriverTestBase; /** * Existing site test base. */ -abstract class ExistingSiteJavascriptTestBase extends ExistingSiteWebDriverTestBase { +abstract class ExistingSiteJavascriptTestBase extends ExistingSiteSelenium2DriverTestBase { use DefaultConfigurationTrait;