diff --git a/core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php b/core/modules/aggregator/tests/src/Functional/Update/AggregatorUpdateTest.php similarity index 82% rename from core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php rename to core/modules/aggregator/tests/src/Functional/Update/AggregatorUpdateTest.php index 374a38e89a962a828c7f9b2df9414701bccae918..9d659d018ac58f6bf0dee450b16c0f3f18010383 100644 --- a/core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php +++ b/core/modules/aggregator/tests/src/Functional/Update/AggregatorUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\aggregator\Tests\Update; +namespace Drupal\Tests\aggregator\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that node settings are properly updated during database updates. @@ -16,7 +16,7 @@ class AggregatorUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', ]; } diff --git a/core/modules/block/src/Tests/Update/BlockConditionMissingSchemaUpdateTest.php b/core/modules/block/tests/src/Functional/Update/BlockConditionMissingSchemaUpdateTest.php similarity index 79% rename from core/modules/block/src/Tests/Update/BlockConditionMissingSchemaUpdateTest.php rename to core/modules/block/tests/src/Functional/Update/BlockConditionMissingSchemaUpdateTest.php index 8eef2e377b59fa982d6141e9bb366c645c9cace3..f5e19a059479018c758f94813b3509752536dfa3 100644 --- a/core/modules/block/src/Tests/Update/BlockConditionMissingSchemaUpdateTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockConditionMissingSchemaUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\block\Tests\Update; +namespace Drupal\Tests\block\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests the upgrade path for block with conditions missing context. @@ -34,8 +34,8 @@ class BlockConditionMissingSchemaUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/drupal-8.block-test-enabled-missing-schema.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.block-test-enabled-missing-schema.php', ]; } diff --git a/core/modules/block/src/Tests/Update/BlockContextMappingUpdateFilledTest.php b/core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php similarity index 64% rename from core/modules/block/src/Tests/Update/BlockContextMappingUpdateFilledTest.php rename to core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php index dafd538d24a93db2f95b760026644290f3a1fa8b..55650c513511602978376c4dbbf671b6929fb5e3 100644 --- a/core/modules/block/src/Tests/Update/BlockContextMappingUpdateFilledTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\block\Tests\Update; +namespace Drupal\Tests\block\Functional\Update; /** * Runs BlockContextMappingUpdateTest with a dump filled with content. @@ -14,7 +14,7 @@ class BlockContextMappingUpdateFilledTest extends BlockContextMappingUpdateTest */ protected function setDatabaseDumpFiles() { parent::setDatabaseDumpFiles(); - $this->databaseDumpFiles[0] = __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz'; + $this->databaseDumpFiles[0] = __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz'; } } diff --git a/core/modules/block/src/Tests/Update/BlockContextMappingUpdateTest.php b/core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php similarity index 88% rename from core/modules/block/src/Tests/Update/BlockContextMappingUpdateTest.php rename to core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php index 8a3106d6284c90ffacce9a33ae2ed14f7376d301..d1acb3b4145d3631e11fc0f163d07b733b3b5631 100644 --- a/core/modules/block/src/Tests/Update/BlockContextMappingUpdateTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php @@ -1,10 +1,10 @@ <?php -namespace Drupal\block\Tests\Update; +namespace Drupal\Tests\block\Functional\Update; use Drupal\block\Entity\Block; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\node\Entity\Node; -use Drupal\system\Tests\Update\UpdatePathTestBase; /** * Tests the upgrade path for block context mapping renames. @@ -25,10 +25,10 @@ class BlockContextMappingUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.language-enabled.php', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.block-test-enabled.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.block-context-manager-2354889.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.language-enabled.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.block-test-enabled.php', ]; } diff --git a/core/modules/block/src/Tests/Update/BlockRemoveDisabledRegionUpdateTest.php b/core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php similarity index 83% rename from core/modules/block/src/Tests/Update/BlockRemoveDisabledRegionUpdateTest.php rename to core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php index 60ba24c712c6aefa086713c4fd405039e80d192a..4409c2868e508d9637f992b93398081e9d7c04bb 100644 --- a/core/modules/block/src/Tests/Update/BlockRemoveDisabledRegionUpdateTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\block\Tests\Update; +namespace Drupal\Tests\block\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests the upgrade path for removal of disabled region. @@ -23,8 +23,8 @@ class BlockRemoveDisabledRegionUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.update-test-block-disabled-2513534.php', ]; } diff --git a/core/modules/block_content/src/Tests/BlockContentUpdateTest.php b/core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php similarity index 88% rename from core/modules/block_content/src/Tests/BlockContentUpdateTest.php rename to core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php index 77c12c653bbc553cae8cad8f4f4c1520e6f45f5d..804bf386791dae481d19b15e5c31f97a01f45529 100644 --- a/core/modules/block_content/src/Tests/BlockContentUpdateTest.php +++ b/core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php @@ -1,9 +1,9 @@ <?php -namespace Drupal\block_content\Tests; +namespace Drupal\Tests\block_content\Functional\Update; use Drupal\Core\Field\BaseFieldDefinition; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests update functions for the Block Content module. @@ -17,7 +17,7 @@ class BlockContentUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/comment/src/Tests/Update/CommentAdminViewUpdateTest.php b/core/modules/comment/tests/src/Functional/Update/CommentAdminViewUpdateTest.php similarity index 88% rename from core/modules/comment/src/Tests/Update/CommentAdminViewUpdateTest.php rename to core/modules/comment/tests/src/Functional/Update/CommentAdminViewUpdateTest.php index 87f8f23a09a4a928a0c8d611410ae7f4ecea0bda..7e2ba6278f5a8cd9cde9a0ca9ae95f5ff6e63eaf 100644 --- a/core/modules/comment/src/Tests/Update/CommentAdminViewUpdateTest.php +++ b/core/modules/comment/tests/src/Functional/Update/CommentAdminViewUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\comment\Tests\Update; +namespace Drupal\Tests\comment\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that comment admin view is enabled after update. @@ -23,7 +23,7 @@ class CommentAdminViewUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/comment/src/Tests/Update/CommentUpdateTest.php b/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php similarity index 92% rename from core/modules/comment/src/Tests/Update/CommentUpdateTest.php rename to core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php index 3db9c4a67b39aa1b955310bbca04e5e6f38bce7d..e623132bbb499b5fc56c3edcc354e58c6a2f4282 100644 --- a/core/modules/comment/src/Tests/Update/CommentUpdateTest.php +++ b/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\comment\Tests\Update; +namespace Drupal\Tests\comment\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that comment settings are properly updated during database updates. @@ -16,7 +16,7 @@ class CommentUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.filled.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.filled.standard.php.gz', ]; } diff --git a/core/modules/contact/src/Tests/Update/ContactUpdateTest.php b/core/modules/contact/tests/src/Functional/Update/ContactUpdateTest.php similarity index 90% rename from core/modules/contact/src/Tests/Update/ContactUpdateTest.php rename to core/modules/contact/tests/src/Functional/Update/ContactUpdateTest.php index 4cbfd64aaa64e2ce5715ea5c14957e749dcf4d39..676f938c1970a3e6608363aaf3f115b8fe48ccec 100644 --- a/core/modules/contact/src/Tests/Update/ContactUpdateTest.php +++ b/core/modules/contact/tests/src/Functional/Update/ContactUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\contact\Tests\Update; +namespace Drupal\Tests\contact\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests contact update path. @@ -16,7 +16,7 @@ class ContactUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/content_translation/src/Tests/Update/ContentTranslationUpdateTest.php b/core/modules/content_translation/tests/src/Functional/Update/ContentTranslationUpdateTest.php similarity index 91% rename from core/modules/content_translation/src/Tests/Update/ContentTranslationUpdateTest.php rename to core/modules/content_translation/tests/src/Functional/Update/ContentTranslationUpdateTest.php index 85b952c35ba87f20a3b3bf7f69be4d61a5eea2f6..25be0def2411cea61a9d5d53b48213c92860c277 100644 --- a/core/modules/content_translation/src/Tests/Update/ContentTranslationUpdateTest.php +++ b/core/modules/content_translation/tests/src/Functional/Update/ContentTranslationUpdateTest.php @@ -1,10 +1,10 @@ <?php -namespace Drupal\content_translation\Tests\Update; +namespace Drupal\Tests\content_translation\Functional\Update; use Drupal\Core\Language\LanguageInterface; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\system\Tests\Entity\EntityDefinitionTestTrait; -use Drupal\system\Tests\Update\UpdatePathTestBase; /** * Tests the upgrade path for the Content Translation module. @@ -60,7 +60,7 @@ protected function setUp() { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', ]; } diff --git a/core/modules/dblog/src/Tests/Update/DblogFiltersAndFieldsUpgradeTest.php b/core/modules/dblog/tests/src/Functional/Update/DblogFiltersAndFieldsUpgradeTest.php similarity index 90% rename from core/modules/dblog/src/Tests/Update/DblogFiltersAndFieldsUpgradeTest.php rename to core/modules/dblog/tests/src/Functional/Update/DblogFiltersAndFieldsUpgradeTest.php index d988d71e9da24d0d7263a9ec77e2b0a3508ff32f..e512f5f5d82edc8b649c83f32d3e739d83acf71e 100644 --- a/core/modules/dblog/src/Tests/Update/DblogFiltersAndFieldsUpgradeTest.php +++ b/core/modules/dblog/tests/src/Functional/Update/DblogFiltersAndFieldsUpgradeTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\dblog\Tests\Update; +namespace Drupal\Tests\dblog\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Views; use Drupal\Core\Serialization\Yaml; @@ -20,8 +20,8 @@ class DblogFiltersAndFieldsUpgradeTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/dblog-2851293.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/dblog-2851293.php', ]; } diff --git a/core/modules/dblog/src/Tests/Update/DblogRecentLogsUsingViewsUpdateTest.php b/core/modules/dblog/tests/src/Functional/Update/DblogRecentLogsUsingViewsUpdateTest.php similarity index 82% rename from core/modules/dblog/src/Tests/Update/DblogRecentLogsUsingViewsUpdateTest.php rename to core/modules/dblog/tests/src/Functional/Update/DblogRecentLogsUsingViewsUpdateTest.php index 4ea6d49f9b845427a083a85d1f89cd4974fb3481..851c15ee713436f111e854bfb8364a359f5c992e 100644 --- a/core/modules/dblog/src/Tests/Update/DblogRecentLogsUsingViewsUpdateTest.php +++ b/core/modules/dblog/tests/src/Functional/Update/DblogRecentLogsUsingViewsUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\dblog\Tests\Update; +namespace Drupal\Tests\dblog\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Ensures that update hook that creates the watchdog view ran sucessfully. @@ -16,7 +16,7 @@ class DblogRecentLogsUsingViewsUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/editor/src/Tests/Update/EditorUpdateTest.php b/core/modules/editor/tests/src/Functional/Update/EditorUpdateTest.php similarity index 88% rename from core/modules/editor/src/Tests/Update/EditorUpdateTest.php rename to core/modules/editor/tests/src/Functional/Update/EditorUpdateTest.php index e7f0f4435ba1b19013b6cc145a77436bb59980f8..a143c053d3d3de15ddb015afdc3d87402dabe112 100644 --- a/core/modules/editor/src/Tests/Update/EditorUpdateTest.php +++ b/core/modules/editor/tests/src/Functional/Update/EditorUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\editor\Tests\Update; +namespace Drupal\Tests\editor\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests Editor module database updates. @@ -16,9 +16,9 @@ class EditorUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', // Simulate an un-synchronized environment. - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.editor-editor_update_8001.php', ]; } diff --git a/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php b/core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php similarity index 83% rename from core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php rename to core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php index 2703bb5e4886a65da228e11d05bf0b916bcdb54f..6e15170c8975c0e8f9ca13360b012518878e0dcc 100644 --- a/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php +++ b/core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\field\Tests\Update; +namespace Drupal\Tests\field\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests the update for the 'size' setting of the 'email_default' field widget. @@ -16,8 +16,8 @@ class EmailWidgetSizeSettingUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/drupal-8.email_widget_size_setting-2578741.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.email_widget_size_setting-2578741.php', ]; } diff --git a/core/modules/field/src/Tests/Update/EntityReferenceHandlerSettingUpdateTest.php b/core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php similarity index 86% rename from core/modules/field/src/Tests/Update/EntityReferenceHandlerSettingUpdateTest.php rename to core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php index aefdcafac922672c16b4ce281cfaefd8c2ffc6a8..0fade3760f438b9af2a69dd2772e5e0fc52b1fc1 100644 --- a/core/modules/field/src/Tests/Update/EntityReferenceHandlerSettingUpdateTest.php +++ b/core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\field\Tests\Update; +namespace Drupal\Tests\field\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests the update for the entity reference 'handler' setting. @@ -16,7 +16,7 @@ class EntityReferenceHandlerSettingUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/field/src/Tests/Update/FieldUpdateTest.php b/core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php similarity index 94% rename from core/modules/field/src/Tests/Update/FieldUpdateTest.php rename to core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php index be31a09351c5fab895d6350798e935f5f1916ab7..577da7147ce2b0ee3344dd7ece1abc6f14f84d2c 100644 --- a/core/modules/field/src/Tests/Update/FieldUpdateTest.php +++ b/core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php @@ -1,11 +1,11 @@ <?php -namespace Drupal\field\Tests\Update; +namespace Drupal\Tests\field\Functional\Update; use Drupal\Core\Config\Config; use Drupal\field\Entity\FieldConfig; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\node\Entity\Node; -use Drupal\system\Tests\Update\UpdatePathTestBase; /** * Tests that field settings are properly updated during database updates. @@ -34,8 +34,8 @@ protected function setUp() { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.views_entity_reference_plugins-2429191.php', ]; } diff --git a/core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php b/core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php similarity index 81% rename from core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php rename to core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php index f1fef088cfe41b2c73bc39af2ec640412e279d49..e9973def614a830b276ec5e377e0041b15f60131 100644 --- a/core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php +++ b/core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\file\Tests\Update; +namespace Drupal\Tests\file\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests the upgrade path for setting the file usage deletion configuration. @@ -23,7 +23,7 @@ class FileUsageTemporaryDeletionConfigurationUpdateTest extends UpdatePathTestBa */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php b/core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php index dbc999c9d4b2caa308d278ef6ca9e808b16d96b1..5afed645c5c5166c7f3e2fd51587cb2911387104 100644 --- a/core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php +++ b/core/modules/hal/tests/src/Functional/Update/CreateHalSettingsForLinkDomainUpdateTest.php @@ -2,7 +2,7 @@ namespace Drupal\Tests\hal\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that 'hal.settings' is created, to store 'link_domain'. diff --git a/core/modules/hal/tests/src/Functional/Update/MigrateLinkDomainSettingFromRestToHalUpdateTest.php b/core/modules/hal/tests/src/Functional/Update/MigrateLinkDomainSettingFromRestToHalUpdateTest.php index 1677420752e9a666099bd8b35528287fc8b1fe82..344caf1e1cfc0ca7da2abd937c97fe9f8172f1fc 100644 --- a/core/modules/hal/tests/src/Functional/Update/MigrateLinkDomainSettingFromRestToHalUpdateTest.php +++ b/core/modules/hal/tests/src/Functional/Update/MigrateLinkDomainSettingFromRestToHalUpdateTest.php @@ -2,7 +2,7 @@ namespace Drupal\Tests\hal\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * 'link_domain' is migrated from 'rest.settings' to 'hal.settings'. diff --git a/core/modules/image/src/Tests/Update/ImageUpdateTest.php b/core/modules/image/tests/src/Functional/Update/ImageUpdateTest.php similarity index 88% rename from core/modules/image/src/Tests/Update/ImageUpdateTest.php rename to core/modules/image/tests/src/Functional/Update/ImageUpdateTest.php index f3d4775b6a30a51d55d74a998b7c2c9e0db8abea..c3a5ddf2709a62875625d590cf7c9375370f56bf 100644 --- a/core/modules/image/src/Tests/Update/ImageUpdateTest.php +++ b/core/modules/image/tests/src/Functional/Update/ImageUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\image\Tests\Update; +namespace Drupal\Tests\image\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests Image update path. @@ -16,7 +16,7 @@ class ImageUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', ]; } diff --git a/core/modules/language/src/Tests/Update/LanguageSelectWidgetUpdateTest.php b/core/modules/language/tests/src/Functional/Update/LanguageSelectWidgetUpdateTest.php similarity index 81% rename from core/modules/language/src/Tests/Update/LanguageSelectWidgetUpdateTest.php rename to core/modules/language/tests/src/Functional/Update/LanguageSelectWidgetUpdateTest.php index b0559831a9aff6161b47b326621708331a2f1db1..afc846460910ea0d08d368a28365b5ffde9bf941 100644 --- a/core/modules/language/src/Tests/Update/LanguageSelectWidgetUpdateTest.php +++ b/core/modules/language/tests/src/Functional/Update/LanguageSelectWidgetUpdateTest.php @@ -1,9 +1,9 @@ <?php -namespace Drupal\language\Tests\Update; +namespace Drupal\Tests\language\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; use Drupal\Core\Entity\Entity\EntityFormDisplay; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests the update path for the language_select widget. @@ -17,7 +17,7 @@ class LanguageSelectWidgetUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', ]; } diff --git a/core/modules/node/src/Tests/Update/NodeUpdateTest.php b/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php similarity index 90% rename from core/modules/node/src/Tests/Update/NodeUpdateTest.php rename to core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php index b193ea8d213b08fb5e73ebf76446de18f459de30..223676b31ea7c19822a29cab6e0dc0a4f1c1480d 100644 --- a/core/modules/node/src/Tests/Update/NodeUpdateTest.php +++ b/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php @@ -1,9 +1,9 @@ <?php -namespace Drupal\node\Tests\Update; +namespace Drupal\Tests\node\Functional\Update; use Drupal\Core\Entity\Entity\EntityFormDisplay; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that node settings are properly updated during database updates. @@ -17,7 +17,7 @@ class NodeUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', ]; } diff --git a/core/modules/responsive_image/src/Tests/Update/ResponsiveImageUpdateTest.php b/core/modules/responsive_image/tests/src/Functional/Update/ResponsiveImageUpdateTest.php similarity index 89% rename from core/modules/responsive_image/src/Tests/Update/ResponsiveImageUpdateTest.php rename to core/modules/responsive_image/tests/src/Functional/Update/ResponsiveImageUpdateTest.php index 1a82bb7b13151cb9705a278cde37a352858f56bb..1760809891e8f37113a6c043bb8d450d7d91a9a3 100644 --- a/core/modules/responsive_image/src/Tests/Update/ResponsiveImageUpdateTest.php +++ b/core/modules/responsive_image/tests/src/Functional/Update/ResponsiveImageUpdateTest.php @@ -1,10 +1,10 @@ <?php -namespace Drupal\responsive_image\Tests\Update; +namespace Drupal\Tests\responsive_image\Functional\Update; use Drupal\Core\Entity\Entity\EntityViewDisplay; use Drupal\Core\Serialization\Yaml; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests responsive image module updates. @@ -18,7 +18,7 @@ class ResponsiveImageUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', ]; } @@ -47,7 +47,7 @@ protected function setUp() { */ public function testPostUpdateDependency() { // Installing the 'wide' responsive image style. - $wide_image_style = Yaml::decode(file_get_contents(__DIR__ . '/../../../../../profiles/standard/config/optional/responsive_image.styles.wide.yml')); + $wide_image_style = Yaml::decode(file_get_contents(__DIR__ . '/../../../../../../profiles/standard/config/optional/responsive_image.styles.wide.yml')); $this->config('responsive_image.styles.wide')->setData($wide_image_style)->save(TRUE); // Change 'field_image' formatter to a responsive image formatter. diff --git a/core/modules/rest/src/Tests/Update/EntityResourcePermissionsUpdateTest.php b/core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php similarity index 86% rename from core/modules/rest/src/Tests/Update/EntityResourcePermissionsUpdateTest.php rename to core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php index 989159e1ca801140d4ae50aa88abf1f77302666a..9add9c5d90d8d9e9c2b227b33751916ec0414dd3 100644 --- a/core/modules/rest/src/Tests/Update/EntityResourcePermissionsUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\rest\Tests\Update; +namespace Drupal\Tests\rest\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that existing sites continue to use permissions for EntityResource. @@ -23,8 +23,8 @@ class EntityResourcePermissionsUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../../rest/tests/fixtures/update/drupal-8.rest-rest_update_8203.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.rest-rest_update_8203.php', ]; } diff --git a/core/modules/rest/src/Tests/Update/ResourceGranularityUpdateTest.php b/core/modules/rest/tests/src/Functional/Update/ResourceGranularityUpdateTest.php similarity index 90% rename from core/modules/rest/src/Tests/Update/ResourceGranularityUpdateTest.php rename to core/modules/rest/tests/src/Functional/Update/ResourceGranularityUpdateTest.php index c8cf89afcc74c8c40aa94a7166e61789c7aaaca3..19ef5458d518b65408fb638bf6ce6a2013a4d08a 100644 --- a/core/modules/rest/src/Tests/Update/ResourceGranularityUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/ResourceGranularityUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\rest\Tests\Update; +namespace Drupal\Tests\rest\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests method-granularity REST config is simplified to resource-granularity. @@ -24,8 +24,8 @@ class ResourceGranularityUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../../rest/tests/fixtures/update/drupal-8.rest-rest_post_update_resource_granularity.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.rest-rest_post_update_resource_granularity.php', ]; } diff --git a/core/modules/rest/src/Tests/Update/RestConfigurationEntitiesUpdateTest.php b/core/modules/rest/tests/src/Functional/Update/RestConfigurationEntitiesUpdateTest.php similarity index 89% rename from core/modules/rest/src/Tests/Update/RestConfigurationEntitiesUpdateTest.php rename to core/modules/rest/tests/src/Functional/Update/RestConfigurationEntitiesUpdateTest.php index 097da35bb1bd13ebe39a4f81da5f7376d7ed4892..f4d8199ab4a70445aa6b44d1f4fdb3930e0a646d 100644 --- a/core/modules/rest/src/Tests/Update/RestConfigurationEntitiesUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/RestConfigurationEntitiesUpdateTest.php @@ -1,9 +1,9 @@ <?php -namespace Drupal\rest\Tests\Update; +namespace Drupal\Tests\rest\Functional\Update; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\rest\RestResourceConfigInterface; -use Drupal\system\Tests\Update\UpdatePathTestBase; /** * Tests that rest.settings is converted to rest_resource_config entities. @@ -26,8 +26,8 @@ class RestConfigurationEntitiesUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../../rest/tests/fixtures/update/drupal-8.rest-rest_update_8201.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.rest-rest_update_8201.php', ]; } diff --git a/core/modules/rest/src/Tests/Update/RestExportAuthUpdateTest.php b/core/modules/rest/tests/src/Functional/Update/RestExportAuthUpdateTest.php similarity index 72% rename from core/modules/rest/src/Tests/Update/RestExportAuthUpdateTest.php rename to core/modules/rest/tests/src/Functional/Update/RestExportAuthUpdateTest.php index 92cc917f6f36c4d2d24d4452de29c2ad18176ecf..87cd5dbfba9abd2d5b1898fe1efa46dd6c4df73b 100644 --- a/core/modules/rest/src/Tests/Update/RestExportAuthUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/RestExportAuthUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\rest\Tests\Update; +namespace Drupal\Tests\rest\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Ensures that update hook is run properly for REST Export config. @@ -16,8 +16,8 @@ class RestExportAuthUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/rest-export-with-authentication.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../tests/fixtures/update/rest-export-with-authentication.php', ]; } diff --git a/core/modules/syslog/src/Tests/Update/SyslogUpdateTest.php b/core/modules/syslog/tests/src/Functional/Update/SyslogUpdateTest.php similarity index 78% rename from core/modules/syslog/src/Tests/Update/SyslogUpdateTest.php rename to core/modules/syslog/tests/src/Functional/Update/SyslogUpdateTest.php index 2b0482ff930739081eef8b861ea9726e87472c7c..e5dfed687befa35c2af35268f445f7f88cc6d2a8 100644 --- a/core/modules/syslog/src/Tests/Update/SyslogUpdateTest.php +++ b/core/modules/syslog/tests/src/Functional/Update/SyslogUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\syslog\Tests\Update; +namespace Drupal\Tests\syslog\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that syslog settings are properly updated during database updates. @@ -16,7 +16,7 @@ class SyslogUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz', ]; } diff --git a/core/modules/system/src/Tests/Entity/Update/LangcodeToAsciiUpdateFilledTest.php b/core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateFilledTest.php similarity index 68% rename from core/modules/system/src/Tests/Entity/Update/LangcodeToAsciiUpdateFilledTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateFilledTest.php index 898627c217f04cf6e7dfaa1501f1b91096f214e8..7e95ed779787be028130980a4333053fc06e6c6d 100644 --- a/core/modules/system/src/Tests/Entity/Update/LangcodeToAsciiUpdateFilledTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateFilledTest.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; /** * Runs LangcodeToAsciiUpdateTest with a dump filled with content. @@ -14,7 +14,7 @@ class LangcodeToAsciiUpdateFilledTest extends LangcodeToAsciiUpdateTest { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.filled.standard.php.gz', + __DIR__ . '/../../../../fixtures/update/drupal-8.filled.standard.php.gz', ]; } diff --git a/core/modules/system/src/Tests/Entity/Update/LangcodeToAsciiUpdateTest.php b/core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php similarity index 91% rename from core/modules/system/src/Tests/Entity/Update/LangcodeToAsciiUpdateTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php index 270bc4946cb4d9c486786c0ae59376739c46026c..d1a3cabb06ed2aa2f33bf8528193365c29349e8b 100644 --- a/core/modules/system/src/Tests/Entity/Update/LangcodeToAsciiUpdateTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/LangcodeToAsciiUpdateTest.php @@ -1,9 +1,9 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; use Drupal\Core\Database\Database; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that the entity langcode fields have been updated to varchar_ascii. @@ -17,7 +17,7 @@ class LangcodeToAsciiUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/system/src/Tests/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php b/core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php similarity index 87% rename from core/modules/system/src/Tests/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php index ba7e028ae09db5f84eb74a1f8f951b5be01ab8f3..c843c835bf9ba77ca7acb3101915089d3bcf0e5f 100644 --- a/core/modules/system/src/Tests/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Entity\View; /** @@ -17,9 +17,9 @@ class MoveRevisionMetadataFieldsUpdateTest extends UpdatePathTestBase { */ public function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.2.0.bare.standard_with_entity_test_revlog_enabled.php.gz', - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.entity-data-revision-metadata-fields-2248983.php', - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.views-revision-metadata-fields-2248983.php', + __DIR__ . '/../../../../../tests/fixtures/update/drupal-8.2.0.bare.standard_with_entity_test_revlog_enabled.php.gz', + __DIR__ . '/../../../../../tests/fixtures/update/drupal-8.entity-data-revision-metadata-fields-2248983.php', + __DIR__ . '/../../../../../tests/fixtures/update/drupal-8.views-revision-metadata-fields-2248983.php', ]; } diff --git a/core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php b/core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php similarity index 97% rename from core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php index b6a86952058340fcc41206c2068628de9516b76d..625ee190edb95a8993eda4b2e1013937586f2b96 100644 --- a/core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php @@ -1,10 +1,10 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; use Drupal\Core\Entity\Sql\TemporaryTableMapping; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\system\Tests\Entity\EntityDefinitionTestTrait; -use Drupal\system\Tests\Update\UpdatePathTestBase; /** * Tests updating an entity type with existing data to be revisionable. @@ -69,8 +69,8 @@ protected function setUp() { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.entity-test-schema-converter-enabled.php', + __DIR__ . '/../../../../fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', + __DIR__ . '/../../../../fixtures/update/drupal-8.entity-test-schema-converter-enabled.php', ]; } diff --git a/core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php b/core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php similarity index 67% rename from core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php index 623e6c6c7c8f0db90054418f25b90ee26474c508..d3c6912f9511efb5132542980a88ce12cec272d7 100644 --- a/core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; /** * Runs SqlContentEntityStorageSchemaIndexTest with a dump filled with content. @@ -14,7 +14,7 @@ class SqlContentEntityStorageSchemaIndexFilledTest extends SqlContentEntityStora */ protected function setDatabaseDumpFiles() { parent::setDatabaseDumpFiles(); - $this->databaseDumpFiles[0] = __DIR__ . '/../../../../tests/fixtures/update/drupal-8.filled.standard.php.gz'; + $this->databaseDumpFiles[0] = __DIR__ . '/../../../../fixtures/update/drupal-8.filled.standard.php.gz'; } } diff --git a/core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php b/core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php similarity index 90% rename from core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php index c92d1db2feb65c7aa7d2eca8b8d9541725507a51..395423033389e2064549d9c8c904584234687630 100644 --- a/core/modules/system/src/Tests/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests that a newly-added index is properly created during database updates. @@ -16,7 +16,7 @@ class SqlContentEntityStorageSchemaIndexTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../fixtures/update/drupal-8.bare.standard.php.gz', ]; } diff --git a/core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php b/core/modules/system/tests/src/Functional/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php similarity index 97% rename from core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php rename to core/modules/system/tests/src/Functional/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php index ddc52fe52cd4ff261317bde01b1d7e68afa74f82..89c1d7072d78b94a820e40531fbbdfce46405fc1 100644 --- a/core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php +++ b/core/modules/system/tests/src/Functional/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php @@ -1,18 +1,18 @@ <?php -namespace Drupal\system\Tests\Entity\Update; +namespace Drupal\Tests\system\Functional\Entity\Update; use Drupal\Core\Entity\Exception\FieldStorageDefinitionUpdateForbiddenException; use Drupal\entity_test\Entity\EntityTest; -use Drupal\simpletest\WebTestBase; -use Drupal\system\Tests\Update\DbUpdatesTrait; +use Drupal\Tests\BrowserTestBase; +use Drupal\Tests\system\Functional\Update\DbUpdatesTrait; /** * Tests performing entity updates through the Update API. * * @group Entity */ -class UpdateApiEntityDefinitionUpdateTest extends WebTestBase { +class UpdateApiEntityDefinitionUpdateTest extends BrowserTestBase { use DbUpdatesTrait; diff --git a/core/modules/system/tests/src/Functional/Update/DbUpdatesTrait.php b/core/modules/system/tests/src/Functional/Update/DbUpdatesTrait.php index cb6ae4bd4753a537050784cf280456b8099c0f79..55f3a04a5ad4775a196df477f38fa9c2481adbaf 100644 --- a/core/modules/system/tests/src/Functional/Update/DbUpdatesTrait.php +++ b/core/modules/system/tests/src/Functional/Update/DbUpdatesTrait.php @@ -36,6 +36,7 @@ protected function applyUpdates() { $this->drupalGet(Url::fromRoute('system.db_update')); $this->clickLink($this->t('Continue')); $this->clickLink($this->t('Apply pending updates')); + $this->checkForMetaRefresh(); } /** diff --git a/core/modules/system/src/Tests/Update/EntityUpdateAddRevisionTranslationAffectedTest.php b/core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php similarity index 90% rename from core/modules/system/src/Tests/Update/EntityUpdateAddRevisionTranslationAffectedTest.php rename to core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php index 190e1753e25f28dde77e0f3dd694e9edf6d1de33..f7dcd0c41bfe2a0c988a32d6d898f7bfa36ab577 100644 --- a/core/modules/system/src/Tests/Update/EntityUpdateAddRevisionTranslationAffectedTest.php +++ b/core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php @@ -1,7 +1,8 @@ <?php -namespace Drupal\system\Tests\Update; +namespace Drupal\Tests\system\Functional\Update; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\system\Tests\Entity\EntityDefinitionTestTrait; /** @@ -53,14 +54,14 @@ protected function setUp() { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul_rev.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul_rev.php.gz', ]; } /** * Tests the addition of the 'revision_translation_affected' base field. * - * @covers system_update_8402 + * @see system_update_8402() */ public function testAddingTheRevisionTranslationAffectedField() { // Make the entity type revisionable and translatable prior to running the diff --git a/core/modules/system/src/Tests/Update/EntityUpdateToRevisionableAndPublishableTest.php b/core/modules/system/tests/src/Functional/Update/EntityUpdateToRevisionableAndPublishableTest.php similarity index 95% rename from core/modules/system/src/Tests/Update/EntityUpdateToRevisionableAndPublishableTest.php rename to core/modules/system/tests/src/Functional/Update/EntityUpdateToRevisionableAndPublishableTest.php index 3edf6f7d6e08c6bed658d96ad875fbfb14f7f10f..eb4a01c99c0794edc26a4b71eaa424d214e996f3 100644 --- a/core/modules/system/src/Tests/Update/EntityUpdateToRevisionableAndPublishableTest.php +++ b/core/modules/system/tests/src/Functional/Update/EntityUpdateToRevisionableAndPublishableTest.php @@ -1,8 +1,9 @@ <?php -namespace Drupal\system\Tests\Update; +namespace Drupal\Tests\system\Functional\Update; use Drupal\Core\Field\BaseFieldDefinition; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\system\Tests\Entity\EntityDefinitionTestTrait; /** @@ -70,15 +71,15 @@ protected function setUp() { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.entity-test-schema-converter-enabled.php', + __DIR__ . '/../../../fixtures/update/drupal-8.0.0-rc1-filled.standard.entity_test_update_mul.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.entity-test-schema-converter-enabled.php', ]; } /** * Tests the conversion of an entity type to revisionable and publishable. * - * @covers entity_test_update_update_8400 + * @see entity_test_update_update_8400() */ public function testConvertToRevisionableAndPublishable() { // Check that entity type is not revisionable nor publishable prior to diff --git a/core/modules/user/src/Tests/Update/UserUpdateEmailToken.php b/core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php similarity index 70% rename from core/modules/user/src/Tests/Update/UserUpdateEmailToken.php rename to core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php index d321ee04f5891b08db46c2552415707329de2967..a01c8a57fbd550c37d98dfb25e30c5252f727f4c 100644 --- a/core/modules/user/src/Tests/Update/UserUpdateEmailToken.php +++ b/core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\user\Tests\Update; +namespace Drupal\Tests\user\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; /** * Tests user email token upgrade path. @@ -16,8 +16,8 @@ class UserUpdateEmailToken extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/drupal-8.user-email-token-2587275.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/drupal-8.user-email-token-2587275.php', ]; } diff --git a/core/modules/user/src/Tests/Update/UserUpdateOrderPermissionsTest.php b/core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php similarity index 79% rename from core/modules/user/src/Tests/Update/UserUpdateOrderPermissionsTest.php rename to core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php index 344cb576e7da0eab27433bbb4b184c2f9e9e2c7a..4d6e7f960096e6451414327693ee68c7eb186504 100644 --- a/core/modules/user/src/Tests/Update/UserUpdateOrderPermissionsTest.php +++ b/core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\user\Tests\Update; +namespace Drupal\Tests\user\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\user\Entity\Role; /** @@ -17,7 +17,7 @@ class UserUpdateOrderPermissionsTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', ]; } diff --git a/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php b/core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php similarity index 91% rename from core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php rename to core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php index c42cf19050c18c5fa55e443c080b1b43fed118ce..8d60f358b9b056c9eb0bc267da30eda2ad02c93e 100644 --- a/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php +++ b/core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Entity\View; /** @@ -19,8 +19,8 @@ class ArgumentPlaceholderUpdatePathTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/argument-placeholder.php' + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/argument-placeholder.php' ]; } diff --git a/core/modules/views/src/Tests/Update/BooleanFilterValuesUpdateTest.php b/core/modules/views/tests/src/Functional/Update/BooleanFilterValuesUpdateTest.php similarity index 75% rename from core/modules/views/src/Tests/Update/BooleanFilterValuesUpdateTest.php rename to core/modules/views/tests/src/Functional/Update/BooleanFilterValuesUpdateTest.php index c06539fffce9884b6afe49cae71202a3d8b1d633..a4787c447149d46127fd8a4a1c09d7101f06fe08 100644 --- a/core/modules/views/src/Tests/Update/BooleanFilterValuesUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/BooleanFilterValuesUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Entity\View; /** @@ -19,8 +19,8 @@ class BooleanFilterValuesUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/boolean-filter-values.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/boolean-filter-values.php', ]; } diff --git a/core/modules/views/src/Tests/Update/CacheabilityMetadataUpdateTest.php b/core/modules/views/tests/src/Functional/Update/CacheabilityMetadataUpdateTest.php similarity index 81% rename from core/modules/views/src/Tests/Update/CacheabilityMetadataUpdateTest.php rename to core/modules/views/tests/src/Functional/Update/CacheabilityMetadataUpdateTest.php index ef203b2a43b17d55a0ffee433bb7242fe1753d34..6410a608f1a611af3d1ad8c10da90c584a5145c6 100644 --- a/core/modules/views/src/Tests/Update/CacheabilityMetadataUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/CacheabilityMetadataUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Views; /** @@ -18,7 +18,7 @@ class CacheabilityMetadataUpdateTest extends UpdatePathTestBase { * {@inheritdoc} */ protected function setDatabaseDumpFiles() { - $this->databaseDumpFiles = [__DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz']; + $this->databaseDumpFiles = [__DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz']; } /** diff --git a/core/modules/views/src/Tests/Update/EntityViewsDataUpdateFilledTest.php b/core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateFilledTest.php similarity index 63% rename from core/modules/views/src/Tests/Update/EntityViewsDataUpdateFilledTest.php rename to core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateFilledTest.php index 57f219d937e166a71899f6ae6c49034ae26dad04..a1ef463b13dedea2cc698455781bf5984331c73a 100644 --- a/core/modules/views/src/Tests/Update/EntityViewsDataUpdateFilledTest.php +++ b/core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateFilledTest.php @@ -1,6 +1,6 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; /** * Runs EntityViewsDataUpdateTest with a dump filled with content. @@ -14,7 +14,7 @@ class EntityViewsDataUpdateFilledTest extends EntityViewsDataUpdateTest { */ protected function setDatabaseDumpFiles() { parent::setDatabaseDumpFiles(); - $this->databaseDumpFiles[0] = __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz'; + $this->databaseDumpFiles[0] = __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz'; } } diff --git a/core/modules/views/src/Tests/Update/EntityViewsDataUpdateTest.php b/core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateTest.php similarity index 90% rename from core/modules/views/src/Tests/Update/EntityViewsDataUpdateTest.php rename to core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateTest.php index 472829cab0741130f1175589503c429b371178c4..2de6568e47e600f74f4281bfd8149cf0389cc963 100644 --- a/core/modules/views/src/Tests/Update/EntityViewsDataUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Views; /** @@ -19,8 +19,8 @@ class EntityViewsDataUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.php', ]; } diff --git a/core/modules/views/src/Tests/Update/FieldHandlersUpdateTest.php b/core/modules/views/tests/src/Functional/Update/FieldHandlersUpdateTest.php similarity index 81% rename from core/modules/views/src/Tests/Update/FieldHandlersUpdateTest.php rename to core/modules/views/tests/src/Functional/Update/FieldHandlersUpdateTest.php index 9990094540df461a9ea9711408a5812a3a1ce40e..1af161964c767f40577916c81417f8430007e992 100644 --- a/core/modules/views/src/Tests/Update/FieldHandlersUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/FieldHandlersUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Entity\View; /** @@ -19,8 +19,8 @@ class FieldHandlersUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', - __DIR__ . '/../../../tests/fixtures/update/duplicate-field-handler.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz', + __DIR__ . '/../../../fixtures/update/duplicate-field-handler.php', ]; } diff --git a/core/modules/views/src/Tests/Update/ImageStyleDependencyUpdateTest.php b/core/modules/views/tests/src/Functional/Update/ImageStyleDependencyUpdateTest.php similarity index 82% rename from core/modules/views/src/Tests/Update/ImageStyleDependencyUpdateTest.php rename to core/modules/views/tests/src/Functional/Update/ImageStyleDependencyUpdateTest.php index 0afae2d63c291740aabb8253d31bcc67c605b16c..e183adedc125e11cf97c1dfbc9238a6bb9b2a1cb 100644 --- a/core/modules/views/src/Tests/Update/ImageStyleDependencyUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/ImageStyleDependencyUpdateTest.php @@ -1,8 +1,8 @@ <?php -namespace Drupal\views\Tests\Update; +namespace Drupal\Tests\views\Functional\Update; -use Drupal\system\Tests\Update\UpdatePathTestBase; +use Drupal\FunctionalTests\Update\UpdatePathTestBase; use Drupal\views\Entity\View; /** @@ -17,8 +17,8 @@ class ImageStyleDependencyUpdateTest extends UpdatePathTestBase { */ protected function setDatabaseDumpFiles() { $this->databaseDumpFiles = [ - __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', - __DIR__ . '/../../../../system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.php', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8-rc1.bare.standard.php.gz', + __DIR__ . '/../../../../../system/tests/fixtures/update/drupal8.views-image-style-dependency-2649914.php', ]; }