From 9ef92a408bdc5ec20ceff87cbb410b7f632105b5 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Fri, 8 Sep 2017 14:24:15 +0100 Subject: [PATCH] Issue #2905627 by Lendude, dawehner: Part-2: Convert UpdatePathTestBase to BrowserTestBase --- .../src/Functional}/Update/AggregatorUpdateTest.php | 6 +++--- .../Update/BlockConditionMissingSchemaUpdateTest.php | 8 ++++---- .../Update/BlockContextMappingUpdateFilledTest.php | 4 ++-- .../Update/BlockContextMappingUpdateTest.php | 12 ++++++------ .../Update/BlockRemoveDisabledRegionUpdateTest.php | 8 ++++---- .../Functional/Update}/BlockContentUpdateTest.php | 6 +++--- .../Update/CommentAdminViewUpdateTest.php | 6 +++--- .../src/Functional}/Update/CommentUpdateTest.php | 6 +++--- .../src/Functional}/Update/ContactUpdateTest.php | 6 +++--- .../Update/ContentTranslationUpdateTest.php | 6 +++--- .../Update/DblogFiltersAndFieldsUpgradeTest.php | 8 ++++---- .../Update/DblogRecentLogsUsingViewsUpdateTest.php | 6 +++--- .../src/Functional}/Update/EditorUpdateTest.php | 8 ++++---- .../Update/EmailWidgetSizeSettingUpdateTest.php | 8 ++++---- .../EntityReferenceHandlerSettingUpdateTest.php | 6 +++--- .../src/Functional}/Update/FieldUpdateTest.php | 8 ++++---- ...UsageTemporaryDeletionConfigurationUpdateTest.php | 6 +++--- .../CreateHalSettingsForLinkDomainUpdateTest.php | 2 +- ...grateLinkDomainSettingFromRestToHalUpdateTest.php | 2 +- .../src/Functional}/Update/ImageUpdateTest.php | 6 +++--- .../Update/LanguageSelectWidgetUpdateTest.php | 6 +++--- .../src/Functional}/Update/NodeUpdateTest.php | 6 +++--- .../Functional}/Update/ResponsiveImageUpdateTest.php | 8 ++++---- .../Update/EntityResourcePermissionsUpdateTest.php | 8 ++++---- .../Update/ResourceGranularityUpdateTest.php | 8 ++++---- .../Update/RestConfigurationEntitiesUpdateTest.php | 8 ++++---- .../Functional}/Update/RestExportAuthUpdateTest.php | 8 ++++---- .../src/Functional}/Update/SyslogUpdateTest.php | 6 +++--- .../Update/LangcodeToAsciiUpdateFilledTest.php | 4 ++-- .../Entity/Update/LangcodeToAsciiUpdateTest.php | 6 +++--- .../Update/MoveRevisionMetadataFieldsUpdateTest.php | 10 +++++----- .../SqlContentEntityStorageSchemaConverterTest.php | 8 ++++---- .../SqlContentEntityStorageSchemaIndexFilledTest.php | 4 ++-- .../SqlContentEntityStorageSchemaIndexTest.php | 6 +++--- .../Update/UpdateApiEntityDefinitionUpdateTest.php | 8 ++++---- .../tests/src/Functional/Update/DbUpdatesTrait.php | 1 + ...ntityUpdateAddRevisionTranslationAffectedTest.php | 7 ++++--- .../EntityUpdateToRevisionableAndPublishableTest.php | 9 +++++---- .../src/Functional}/Update/UserUpdateEmailToken.php | 8 ++++---- .../Update/UserUpdateOrderPermissionsTest.php | 6 +++--- .../Update/ArgumentPlaceholderUpdatePathTest.php | 8 ++++---- .../Update/BooleanFilterValuesUpdateTest.php | 8 ++++---- .../Update/CacheabilityMetadataUpdateTest.php | 6 +++--- .../Update/EntityViewsDataUpdateFilledTest.php | 4 ++-- .../Functional}/Update/EntityViewsDataUpdateTest.php | 8 ++++---- .../Functional}/Update/FieldHandlersUpdateTest.php | 8 ++++---- .../Update/ImageStyleDependencyUpdateTest.php | 8 ++++---- 47 files changed, 158 insertions(+), 155 deletions(-) rename core/modules/aggregator/{src/Tests => tests/src/Functional}/Update/AggregatorUpdateTest.php (82%) rename core/modules/block/{src/Tests => tests/src/Functional}/Update/BlockConditionMissingSchemaUpdateTest.php (79%) rename core/modules/block/{src/Tests => tests/src/Functional}/Update/BlockContextMappingUpdateFilledTest.php (64%) rename core/modules/block/{src/Tests => tests/src/Functional}/Update/BlockContextMappingUpdateTest.php (88%) rename core/modules/block/{src/Tests => tests/src/Functional}/Update/BlockRemoveDisabledRegionUpdateTest.php (83%) rename core/modules/block_content/{src/Tests => tests/src/Functional/Update}/BlockContentUpdateTest.php (88%) rename core/modules/comment/{src/Tests => tests/src/Functional}/Update/CommentAdminViewUpdateTest.php (88%) rename core/modules/comment/{src/Tests => tests/src/Functional}/Update/CommentUpdateTest.php (92%) rename core/modules/contact/{src/Tests => tests/src/Functional}/Update/ContactUpdateTest.php (90%) rename core/modules/content_translation/{src/Tests => tests/src/Functional}/Update/ContentTranslationUpdateTest.php (91%) rename core/modules/dblog/{src/Tests => tests/src/Functional}/Update/DblogFiltersAndFieldsUpgradeTest.php (90%) rename core/modules/dblog/{src/Tests => tests/src/Functional}/Update/DblogRecentLogsUsingViewsUpdateTest.php (82%) rename core/modules/editor/{src/Tests => tests/src/Functional}/Update/EditorUpdateTest.php (88%) rename core/modules/field/{src/Tests => tests/src/Functional}/Update/EmailWidgetSizeSettingUpdateTest.php (83%) rename core/modules/field/{src/Tests => tests/src/Functional}/Update/EntityReferenceHandlerSettingUpdateTest.php (86%) rename core/modules/field/{src/Tests => tests/src/Functional}/Update/FieldUpdateTest.php (94%) rename core/modules/file/{src/Tests => tests/src/Functional}/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php (81%) rename core/modules/image/{src/Tests => tests/src/Functional}/Update/ImageUpdateTest.php (88%) rename core/modules/language/{src/Tests => tests/src/Functional}/Update/LanguageSelectWidgetUpdateTest.php (81%) rename core/modules/node/{src/Tests => tests/src/Functional}/Update/NodeUpdateTest.php (90%) rename core/modules/responsive_image/{src/Tests => tests/src/Functional}/Update/ResponsiveImageUpdateTest.php (89%) rename core/modules/rest/{src/Tests => tests/src/Functional}/Update/EntityResourcePermissionsUpdateTest.php (86%) rename core/modules/rest/{src/Tests => tests/src/Functional}/Update/ResourceGranularityUpdateTest.php (90%) rename core/modules/rest/{src/Tests => tests/src/Functional}/Update/RestConfigurationEntitiesUpdateTest.php (89%) rename core/modules/rest/{src/Tests => tests/src/Functional}/Update/RestExportAuthUpdateTest.php (72%) rename core/modules/syslog/{src/Tests => tests/src/Functional}/Update/SyslogUpdateTest.php (78%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/LangcodeToAsciiUpdateFilledTest.php (68%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/LangcodeToAsciiUpdateTest.php (91%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/MoveRevisionMetadataFieldsUpdateTest.php (87%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/SqlContentEntityStorageSchemaConverterTest.php (97%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/SqlContentEntityStorageSchemaIndexFilledTest.php (67%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/SqlContentEntityStorageSchemaIndexTest.php (90%) rename core/modules/system/{src/Tests => tests/src/Functional}/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php (97%) rename core/modules/system/{src/Tests => tests/src/Functional}/Update/EntityUpdateAddRevisionTranslationAffectedTest.php (90%) rename core/modules/system/{src/Tests => tests/src/Functional}/Update/EntityUpdateToRevisionableAndPublishableTest.php (95%) rename core/modules/user/{src/Tests => tests/src/Functional}/Update/UserUpdateEmailToken.php (70%) rename core/modules/user/{src/Tests => tests/src/Functional}/Update/UserUpdateOrderPermissionsTest.php (79%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/ArgumentPlaceholderUpdatePathTest.php (91%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/BooleanFilterValuesUpdateTest.php (75%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/CacheabilityMetadataUpdateTest.php (81%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/EntityViewsDataUpdateFilledTest.php (63%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/EntityViewsDataUpdateTest.php (90%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/FieldHandlersUpdateTest.php (81%) rename core/modules/views/{src/Tests => tests/src/Functional}/Update/ImageStyleDependencyUpdateTest.php (82%) 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 374a38e89a96..9d659d018ac5 100644 --- a/core/modules/aggregator/src/Tests/Update/AggregatorUpdateTest.php +++ b/core/modules/aggregator/tests/src/Functional/Update/AggregatorUpdateTest.php @@ -1,8 +1,8 @@ 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 8eef2e377b59..f5e19a059479 100644 --- a/core/modules/block/src/Tests/Update/BlockConditionMissingSchemaUpdateTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockConditionMissingSchemaUpdateTest.php @@ -1,8 +1,8 @@ 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 dafd538d24a9..55650c513511 100644 --- a/core/modules/block/src/Tests/Update/BlockContextMappingUpdateFilledTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateFilledTest.php @@ -1,6 +1,6 @@ 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 8a3106d6284c..d1acb3b4145d 100644 --- a/core/modules/block/src/Tests/Update/BlockContextMappingUpdateTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockContextMappingUpdateTest.php @@ -1,10 +1,10 @@ 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 60ba24c712c6..4409c2868e50 100644 --- a/core/modules/block/src/Tests/Update/BlockRemoveDisabledRegionUpdateTest.php +++ b/core/modules/block/tests/src/Functional/Update/BlockRemoveDisabledRegionUpdateTest.php @@ -1,8 +1,8 @@ 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 77c12c653bbc..804bf386791d 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 @@ 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 87f8f23a09a4..7e2ba6278f5a 100644 --- a/core/modules/comment/src/Tests/Update/CommentAdminViewUpdateTest.php +++ b/core/modules/comment/tests/src/Functional/Update/CommentAdminViewUpdateTest.php @@ -1,8 +1,8 @@ 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 3db9c4a67b39..e623132bbb49 100644 --- a/core/modules/comment/src/Tests/Update/CommentUpdateTest.php +++ b/core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php @@ -1,8 +1,8 @@ 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 4cbfd64aaa64..676f938c1970 100644 --- a/core/modules/contact/src/Tests/Update/ContactUpdateTest.php +++ b/core/modules/contact/tests/src/Functional/Update/ContactUpdateTest.php @@ -1,8 +1,8 @@ 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 85b952c35ba8..25be0def2411 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 @@ 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 d988d71e9da2..e512f5f5d82e 100644 --- a/core/modules/dblog/src/Tests/Update/DblogFiltersAndFieldsUpgradeTest.php +++ b/core/modules/dblog/tests/src/Functional/Update/DblogFiltersAndFieldsUpgradeTest.php @@ -1,8 +1,8 @@ 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 4ea6d49f9b84..851c15ee7134 100644 --- a/core/modules/dblog/src/Tests/Update/DblogRecentLogsUsingViewsUpdateTest.php +++ b/core/modules/dblog/tests/src/Functional/Update/DblogRecentLogsUsingViewsUpdateTest.php @@ -1,8 +1,8 @@ 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 e7f0f4435ba1..a143c053d3d3 100644 --- a/core/modules/editor/src/Tests/Update/EditorUpdateTest.php +++ b/core/modules/editor/tests/src/Functional/Update/EditorUpdateTest.php @@ -1,8 +1,8 @@ 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 2703bb5e4886..6e15170c8975 100644 --- a/core/modules/field/src/Tests/Update/EmailWidgetSizeSettingUpdateTest.php +++ b/core/modules/field/tests/src/Functional/Update/EmailWidgetSizeSettingUpdateTest.php @@ -1,8 +1,8 @@ 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 aefdcafac922..0fade3760f43 100644 --- a/core/modules/field/src/Tests/Update/EntityReferenceHandlerSettingUpdateTest.php +++ b/core/modules/field/tests/src/Functional/Update/EntityReferenceHandlerSettingUpdateTest.php @@ -1,8 +1,8 @@ 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 be31a09351c5..577da7147ce2 100644 --- a/core/modules/field/src/Tests/Update/FieldUpdateTest.php +++ b/core/modules/field/tests/src/Functional/Update/FieldUpdateTest.php @@ -1,11 +1,11 @@ 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 f1fef088cfe4..e9973def614a 100644 --- a/core/modules/file/src/Tests/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php +++ b/core/modules/file/tests/src/Functional/Update/FileUsageTemporaryDeletionConfigurationUpdateTest.php @@ -1,8 +1,8 @@ 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 dbc999c9d4b2..5afed645c5c5 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 1677420752e9..344caf1e1cfc 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 f3d4775b6a30..c3a5ddf2709a 100644 --- a/core/modules/image/src/Tests/Update/ImageUpdateTest.php +++ b/core/modules/image/tests/src/Functional/Update/ImageUpdateTest.php @@ -1,8 +1,8 @@ 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 b0559831a9af..afc846460910 100644 --- a/core/modules/language/src/Tests/Update/LanguageSelectWidgetUpdateTest.php +++ b/core/modules/language/tests/src/Functional/Update/LanguageSelectWidgetUpdateTest.php @@ -1,9 +1,9 @@ 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 b193ea8d213b..223676b31ea7 100644 --- a/core/modules/node/src/Tests/Update/NodeUpdateTest.php +++ b/core/modules/node/tests/src/Functional/Update/NodeUpdateTest.php @@ -1,9 +1,9 @@ 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 1a82bb7b1315..1760809891e8 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 @@ 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 @@ class ResponsiveImageUpdateTest extends UpdatePathTestBase { */ 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 989159e1ca80..9add9c5d90d8 100644 --- a/core/modules/rest/src/Tests/Update/EntityResourcePermissionsUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/EntityResourcePermissionsUpdateTest.php @@ -1,8 +1,8 @@ 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 c8cf89afcc74..19ef5458d518 100644 --- a/core/modules/rest/src/Tests/Update/ResourceGranularityUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/ResourceGranularityUpdateTest.php @@ -1,8 +1,8 @@ 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 097da35bb1bd..f4d8199ab4a7 100644 --- a/core/modules/rest/src/Tests/Update/RestConfigurationEntitiesUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/RestConfigurationEntitiesUpdateTest.php @@ -1,9 +1,9 @@ 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 92cc917f6f36..87cd5dbfba9a 100644 --- a/core/modules/rest/src/Tests/Update/RestExportAuthUpdateTest.php +++ b/core/modules/rest/tests/src/Functional/Update/RestExportAuthUpdateTest.php @@ -1,8 +1,8 @@ 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 2b0482ff9307..e5dfed687bef 100644 --- a/core/modules/syslog/src/Tests/Update/SyslogUpdateTest.php +++ b/core/modules/syslog/tests/src/Functional/Update/SyslogUpdateTest.php @@ -1,8 +1,8 @@ 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 898627c217f0..7e95ed779787 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 @@ 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 270bc4946cb4..d1a3cabb06ed 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 @@ 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 ba7e028ae09d..c843c835bf9b 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 @@ 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 b6a869520583..625ee190edb9 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 @@ 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 623e6c6c7c8f..d3c6912f9511 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 @@ 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 c92d1db2feb6..395423033389 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 @@ 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 ddc52fe52cd4..89c1d7072d78 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 @@ 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 190e1753e25f..f7dcd0c41bfe 100644 --- a/core/modules/system/src/Tests/Update/EntityUpdateAddRevisionTranslationAffectedTest.php +++ b/core/modules/system/tests/src/Functional/Update/EntityUpdateAddRevisionTranslationAffectedTest.php @@ -1,7 +1,8 @@ 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 3edf6f7d6e08..eb4a01c99c07 100644 --- a/core/modules/system/src/Tests/Update/EntityUpdateToRevisionableAndPublishableTest.php +++ b/core/modules/system/tests/src/Functional/Update/EntityUpdateToRevisionableAndPublishableTest.php @@ -1,8 +1,9 @@ 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 d321ee04f589..a01c8a57fbd5 100644 --- a/core/modules/user/src/Tests/Update/UserUpdateEmailToken.php +++ b/core/modules/user/tests/src/Functional/Update/UserUpdateEmailToken.php @@ -1,8 +1,8 @@ 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 344cb576e7da..4d6e7f960096 100644 --- a/core/modules/user/src/Tests/Update/UserUpdateOrderPermissionsTest.php +++ b/core/modules/user/tests/src/Functional/Update/UserUpdateOrderPermissionsTest.php @@ -1,8 +1,8 @@ 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 c42cf19050c1..8d60f358b9b0 100644 --- a/core/modules/views/src/Tests/Update/ArgumentPlaceholderUpdatePathTest.php +++ b/core/modules/views/tests/src/Functional/Update/ArgumentPlaceholderUpdatePathTest.php @@ -1,8 +1,8 @@ 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 c06539fffce9..a4787c447149 100644 --- a/core/modules/views/src/Tests/Update/BooleanFilterValuesUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/BooleanFilterValuesUpdateTest.php @@ -1,8 +1,8 @@ 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 ef203b2a43b1..6410a608f1a6 100644 --- a/core/modules/views/src/Tests/Update/CacheabilityMetadataUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/CacheabilityMetadataUpdateTest.php @@ -1,8 +1,8 @@ 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 57f219d937e1..a1ef463b13de 100644 --- a/core/modules/views/src/Tests/Update/EntityViewsDataUpdateFilledTest.php +++ b/core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateFilledTest.php @@ -1,6 +1,6 @@ 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 472829cab074..2de6568e47e6 100644 --- a/core/modules/views/src/Tests/Update/EntityViewsDataUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/EntityViewsDataUpdateTest.php @@ -1,8 +1,8 @@ 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 9990094540df..1af161964c76 100644 --- a/core/modules/views/src/Tests/Update/FieldHandlersUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/FieldHandlersUpdateTest.php @@ -1,8 +1,8 @@ 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 0afae2d63c29..e183adedc125 100644 --- a/core/modules/views/src/Tests/Update/ImageStyleDependencyUpdateTest.php +++ b/core/modules/views/tests/src/Functional/Update/ImageStyleDependencyUpdateTest.php @@ -1,8 +1,8 @@ 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', ]; }