summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorNathaniel Catchpole2019-01-18 08:57:52 (GMT)
committerNathaniel Catchpole2019-01-18 08:58:02 (GMT)
commit1ad9e2690587c8d947408163340a86e48599652b (patch)
tree5d331483fcb1cc79231ec6511c9bc1f37a7a5685 /core
parentde323cd29b24d9b865fb7173e6a5e68f9275430f (diff)
Issue #2987418 by quietone, Kristen Pol: Rename MigrateUpgrade tests
(cherry picked from commit 898083ce7bd89e65360bb581ec174ee01c1b1e7f)
Diffstat (limited to 'core')
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeReviewPageTestBase.php)4
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeI18nReviewPageTestBase.php)4
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6ReviewPageTest.php)6
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php)7
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualTest.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php)2
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php)2
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7ReviewPageTest.php)6
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualTest.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7NoMultilingualTest.php)2
-rw-r--r--core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php (renamed from core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7Test.php)2
9 files changed, 22 insertions, 13 deletions
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeReviewPageTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
index 5c97a69..a200de6 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeReviewPageTestBase.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php
@@ -6,8 +6,10 @@ use Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait;
/**
* Provides a base class for testing the review step of the Upgrade form.
+ *
+ * When using this test class, enable translation modules.
*/
-abstract class MigrateUpgradeReviewPageTestBase extends MigrateUpgradeTestBase {
+abstract class MultilingualReviewPageTestBase extends MigrateUpgradeTestBase {
use CreateTestContentEntitiesTrait;
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeI18nReviewPageTestBase.php b/core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
index 8a57115..d5e41ed 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeI18nReviewPageTestBase.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/NoMultilingualReviewPageTestBase.php
@@ -5,9 +5,9 @@ namespace Drupal\Tests\migrate_drupal_ui\Functional;
/**
* Tests the upgrade review form without translations.
*
- * When using this test class do not enable content_translation.
+ * When using this test class, do not enable migrate_drupal_multilingual.
*/
-abstract class MigrateUpgradeI18nReviewPageTestBase extends MigrateUpgradeReviewPageTestBase {
+abstract class NoMultilingualReviewPageTestBase extends MultilingualReviewPageTestBase {
/**
* Tests the review page when content_translation is enabled.
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6ReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
index 91657f7..fee4cb8 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6ReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MultilingualReviewPageTest.php
@@ -2,15 +2,17 @@
namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
-use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeReviewPageTestBase;
+use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
/**
* Tests migrate upgrade review page for Drupal 6.
*
+ * Tests with translation modules and migrate_drupal_multilingual enabled.
+ *
* @group migrate_drupal_6
* @group migrate_drupal_ui
*/
-class MigrateUpgrade6ReviewPageTest extends MigrateUpgradeReviewPageTestBase {
+class MultilingualReviewPageTest extends MultilingualReviewPageTestBase {
/**
* {@inheritdoc}
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
index a4deaa2..2aabb71 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6I18nReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualReviewPageTest.php
@@ -2,15 +2,18 @@
namespace Drupal\Tests\migrate_drupal_ui\Functional\d6;
-use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeI18nReviewPageTestBase;
+use Drupal\Tests\migrate_drupal_ui\Functional\NoMultilingualReviewPageTestBase;
/**
* Tests migrate upgrade review page for Drupal 6 without translations.
*
+ * Tests with the translation modules and migrate_drupal_multilingual module
+ * disabled.
+ *
* @group migrate_drupal_6
* @group migrate_drupal_ui
*/
-class MigrateUpgrade6I18nReviewPageTest extends MigrateUpgradeI18nReviewPageTestBase {
+class NoMultilingualReviewPageTest extends NoMultilingualReviewPageTestBase {
/**
* {@inheritdoc}
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualTest.php
index e07e8bf..a3f4f10 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6NoMultilingualTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/NoMultilingualTest.php
@@ -11,7 +11,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
*
* @group migrate_drupal_ui
*/
-class MigrateUpgrade6NoMultilingualTest extends MigrateUpgradeExecuteTestBase {
+class NoMultilingualTest extends MigrateUpgradeExecuteTestBase {
/**
* {@inheritdoc}
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
index 96b3b1f..f944ed5 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d6/MigrateUpgrade6Test.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
@@ -13,7 +13,7 @@ use Drupal\user\Entity\User;
*
* @group migrate_drupal_ui
*/
-class MigrateUpgrade6Test extends MigrateUpgradeExecuteTestBase {
+class Upgrade6Test extends MigrateUpgradeExecuteTestBase {
/**
* Modules to enable.
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7ReviewPageTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
index 9e68d9d..d506512 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7ReviewPageTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MultilingualReviewPageTest.php
@@ -2,15 +2,17 @@
namespace Drupal\Tests\migrate_drupal_ui\Functional\d7;
-use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeReviewPageTestBase;
+use Drupal\Tests\migrate_drupal_ui\Functional\MultilingualReviewPageTestBase;
/**
* Tests migrate upgrade review page for Drupal 7.
*
+ * Tests with translation modules and migrate_drupal_multilingual enabled.
+ *
* @group migrate_drupal_7
* @group migrate_drupal_ui
*/
-class MigrateUpgrade7ReviewPageTest extends MigrateUpgradeReviewPageTestBase {
+class MultilingualReviewPageTest extends MultilingualReviewPageTestBase {
/**
* {@inheritdoc}
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7NoMultilingualTest.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualTest.php
index a8f51e7..a3958a7 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7NoMultilingualTest.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/NoMultilingualTest.php
@@ -11,7 +11,7 @@ use Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase;
*
* @group migrate_drupal_ui
*/
-class MigrateUpgrade7NoMultilingualTest extends MigrateUpgradeExecuteTestBase {
+class NoMultilingualTest extends MigrateUpgradeExecuteTestBase {
/**
* {@inheritdoc}
diff --git a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7Test.php b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
index b171801..af3b433 100644
--- a/core/modules/migrate_drupal_ui/tests/src/Functional/d7/MigrateUpgrade7Test.php
+++ b/core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php
@@ -13,7 +13,7 @@ use Drupal\user\Entity\User;
*
* @group migrate_drupal_ui
*/
-class MigrateUpgrade7Test extends MigrateUpgradeExecuteTestBase {
+class Upgrade7Test extends MigrateUpgradeExecuteTestBase {
/**
* Modules to enable.