diff --git a/core/modules/aggregator/src/Tests/AggregatorTestBase.php b/core/modules/aggregator/src/Tests/AggregatorTestBase.php index 15be144..8e2ee09 100644 --- a/core/modules/aggregator/src/Tests/AggregatorTestBase.php +++ b/core/modules/aggregator/src/Tests/AggregatorTestBase.php @@ -4,7 +4,7 @@ use Drupal\aggregator\Entity\Feed; use Drupal\Component\Utility\Html; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\aggregator\FeedInterface; /** diff --git a/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php b/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php index 22bb9ca..b792de4 100644 --- a/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php +++ b/core/modules/basic_auth/src/Tests/Authentication/BasicAuthTest.php @@ -6,7 +6,7 @@ use Drupal\Core\Url; use Drupal\basic_auth\Tests\BasicAuthTestTrait; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for BasicAuth authentication provider. diff --git a/core/modules/big_pipe/src/Tests/BigPipeTest.php b/core/modules/big_pipe/src/Tests/BigPipeTest.php index 370b815..9546139 100644 --- a/core/modules/big_pipe/src/Tests/BigPipeTest.php +++ b/core/modules/big_pipe/src/Tests/BigPipeTest.php @@ -8,7 +8,7 @@ use Drupal\Component\Utility\Html; use Drupal\Core\Logger\RfcLogLevel; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests BigPipe's no-JS detection & response delivery (with and without JS). diff --git a/core/modules/block/src/Tests/BlockAdminThemeTest.php b/core/modules/block/src/Tests/BlockAdminThemeTest.php index ab444d5..26cf715 100644 --- a/core/modules/block/src/Tests/BlockAdminThemeTest.php +++ b/core/modules/block/src/Tests/BlockAdminThemeTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the block system with admin themes. diff --git a/core/modules/block/src/Tests/BlockCacheTest.php b/core/modules/block/src/Tests/BlockCacheTest.php index f774539..0725401 100644 --- a/core/modules/block/src/Tests/BlockCacheTest.php +++ b/core/modules/block/src/Tests/BlockCacheTest.php @@ -3,7 +3,7 @@ namespace Drupal\block\Tests; use Drupal\Core\Cache\Cache; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests block caching. diff --git a/core/modules/block/src/Tests/BlockFormInBlockTest.php b/core/modules/block/src/Tests/BlockFormInBlockTest.php index 73c7591..9957326 100644 --- a/core/modules/block/src/Tests/BlockFormInBlockTest.php +++ b/core/modules/block/src/Tests/BlockFormInBlockTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form in block caching. diff --git a/core/modules/block/src/Tests/BlockHiddenRegionTest.php b/core/modules/block/src/Tests/BlockHiddenRegionTest.php index b7d44ad..9e90416 100644 --- a/core/modules/block/src/Tests/BlockHiddenRegionTest.php +++ b/core/modules/block/src/Tests/BlockHiddenRegionTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that a newly installed theme does not inherit blocks to its hidden diff --git a/core/modules/block/src/Tests/BlockHookOperationTest.php b/core/modules/block/src/Tests/BlockHookOperationTest.php index 91ea843..4ddfd2e 100644 --- a/core/modules/block/src/Tests/BlockHookOperationTest.php +++ b/core/modules/block/src/Tests/BlockHookOperationTest.php @@ -3,7 +3,7 @@ namespace Drupal\block\Tests; use Drupal\Component\Utility\Unicode; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for Block module regarding hook_entity_operations_alter(). diff --git a/core/modules/block/src/Tests/BlockHtmlTest.php b/core/modules/block/src/Tests/BlockHtmlTest.php index baf5d4b..e6ea44a 100644 --- a/core/modules/block/src/Tests/BlockHtmlTest.php +++ b/core/modules/block/src/Tests/BlockHtmlTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests block HTML ID validity. diff --git a/core/modules/block/src/Tests/BlockInstallTest.php b/core/modules/block/src/Tests/BlockInstallTest.php index 55f4b8a..6b3caa5 100644 --- a/core/modules/block/src/Tests/BlockInstallTest.php +++ b/core/modules/block/src/Tests/BlockInstallTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests block module's installation. diff --git a/core/modules/block/src/Tests/BlockInvalidRegionTest.php b/core/modules/block/src/Tests/BlockInvalidRegionTest.php index 438a0c1..2da95d8 100644 --- a/core/modules/block/src/Tests/BlockInvalidRegionTest.php +++ b/core/modules/block/src/Tests/BlockInvalidRegionTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\block\Entity\Block; /** diff --git a/core/modules/block/src/Tests/BlockLanguageCacheTest.php b/core/modules/block/src/Tests/BlockLanguageCacheTest.php index fd5871e..6961e36 100644 --- a/core/modules/block/src/Tests/BlockLanguageCacheTest.php +++ b/core/modules/block/src/Tests/BlockLanguageCacheTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests display of menu blocks with multiple languages. diff --git a/core/modules/block/src/Tests/BlockLanguageTest.php b/core/modules/block/src/Tests/BlockLanguageTest.php index a2bf249..2bb9c96 100644 --- a/core/modules/block/src/Tests/BlockLanguageTest.php +++ b/core/modules/block/src/Tests/BlockLanguageTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\block\Entity\Block; /** diff --git a/core/modules/block/src/Tests/BlockRenderOrderTest.php b/core/modules/block/src/Tests/BlockRenderOrderTest.php index faf667e..d628cba 100644 --- a/core/modules/block/src/Tests/BlockRenderOrderTest.php +++ b/core/modules/block/src/Tests/BlockRenderOrderTest.php @@ -3,7 +3,7 @@ namespace Drupal\block\Tests; use Drupal\Component\Utility\Html; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests blocks are being rendered in order by weight. diff --git a/core/modules/block/src/Tests/BlockTemplateSuggestionsTest.php b/core/modules/block/src/Tests/BlockTemplateSuggestionsTest.php index d5ce8e6..97e3045 100644 --- a/core/modules/block/src/Tests/BlockTemplateSuggestionsTest.php +++ b/core/modules/block/src/Tests/BlockTemplateSuggestionsTest.php @@ -3,7 +3,7 @@ namespace Drupal\block\Tests; use Drupal\block\Entity\Block; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the block_theme_suggestions_block() function. diff --git a/core/modules/block/src/Tests/BlockTestBase.php b/core/modules/block/src/Tests/BlockTestBase.php index 970de52..073dff2 100644 --- a/core/modules/block/src/Tests/BlockTestBase.php +++ b/core/modules/block/src/Tests/BlockTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/block/src/Tests/BlockUiTest.php b/core/modules/block/src/Tests/BlockUiTest.php index 5ea62cd..a9b8d98 100644 --- a/core/modules/block/src/Tests/BlockUiTest.php +++ b/core/modules/block/src/Tests/BlockUiTest.php @@ -3,7 +3,7 @@ namespace Drupal\block\Tests; use Drupal\Component\Utility\Html; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the block configuration UI exists and stores data correctly. diff --git a/core/modules/block/src/Tests/BlockXssTest.php b/core/modules/block/src/Tests/BlockXssTest.php index b37f4cd..de6c870 100644 --- a/core/modules/block/src/Tests/BlockXssTest.php +++ b/core/modules/block/src/Tests/BlockXssTest.php @@ -5,7 +5,7 @@ use Drupal\block_content\Entity\BlockContent; use Drupal\block_content\Entity\BlockContentType; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Entity\Menu; use Drupal\views\Entity\View; diff --git a/core/modules/block/src/Tests/NewDefaultThemeBlocksTest.php b/core/modules/block/src/Tests/NewDefaultThemeBlocksTest.php index 9442df5..d34d482 100644 --- a/core/modules/block/src/Tests/NewDefaultThemeBlocksTest.php +++ b/core/modules/block/src/Tests/NewDefaultThemeBlocksTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the new default theme gets blocks. diff --git a/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php b/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php index 218832d..618b39f 100644 --- a/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php +++ b/core/modules/block/src/Tests/NonDefaultBlockAdminTest.php @@ -2,7 +2,7 @@ namespace Drupal\block\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the block administration page for a non-default theme. diff --git a/core/modules/block_content/src/Tests/BlockContentTestBase.php b/core/modules/block_content/src/Tests/BlockContentTestBase.php index 16df855..b3694e6 100644 --- a/core/modules/block_content/src/Tests/BlockContentTestBase.php +++ b/core/modules/block_content/src/Tests/BlockContentTestBase.php @@ -4,7 +4,7 @@ use Drupal\block_content\Entity\BlockContent; use Drupal\block_content\Entity\BlockContentType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Sets up block content types. diff --git a/core/modules/book/src/Tests/BookBreadcrumbTest.php b/core/modules/book/src/Tests/BookBreadcrumbTest.php index 57e1b3d..ecf1f5c 100644 --- a/core/modules/book/src/Tests/BookBreadcrumbTest.php +++ b/core/modules/book/src/Tests/BookBreadcrumbTest.php @@ -2,7 +2,7 @@ namespace Drupal\book\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Create a book, add pages, and test book interface. diff --git a/core/modules/book/src/Tests/BookTest.php b/core/modules/book/src/Tests/BookTest.php index 7ebec63..d470289 100644 --- a/core/modules/book/src/Tests/BookTest.php +++ b/core/modules/book/src/Tests/BookTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Cache\Cache; use Drupal\Core\Entity\EntityInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php index d10180d..0c7f49e 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorAdminTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Serialization\Json; use Drupal\editor\Entity\Editor; use Drupal\filter\FilterFormatInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php index e14b6e3..4471420 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorLoadingTest.php @@ -3,7 +3,7 @@ namespace Drupal\ckeditor\Tests; use Drupal\editor\Entity\Editor; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/ckeditor/src/Tests/CKEditorStylesComboAdminTest.php b/core/modules/ckeditor/src/Tests/CKEditorStylesComboAdminTest.php index d70980e..94c86e4 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorStylesComboAdminTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorStylesComboAdminTest.php @@ -3,7 +3,7 @@ namespace Drupal\ckeditor\Tests; use Drupal\editor\Entity\Editor; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php b/core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php index 22874b7..fe6299f 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorToolbarButtonTest.php @@ -5,7 +5,7 @@ use Drupal\filter\Entity\FilterFormat; use Drupal\editor\Entity\Editor; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Serialization\Json; /** diff --git a/core/modules/color/src/Tests/ColorConfigSchemaTest.php b/core/modules/color/src/Tests/ColorConfigSchemaTest.php index 941e520..1d1c98c 100644 --- a/core/modules/color/src/Tests/ColorConfigSchemaTest.php +++ b/core/modules/color/src/Tests/ColorConfigSchemaTest.php @@ -2,7 +2,7 @@ namespace Drupal\color\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Ensures the color config schema is correct. diff --git a/core/modules/color/src/Tests/ColorSafePreviewTest.php b/core/modules/color/src/Tests/ColorSafePreviewTest.php index 813a92e..07eb7f8 100644 --- a/core/modules/color/src/Tests/ColorSafePreviewTest.php +++ b/core/modules/color/src/Tests/ColorSafePreviewTest.php @@ -3,7 +3,7 @@ namespace Drupal\color\Tests; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests sanitizing color preview loaded from theme. diff --git a/core/modules/color/src/Tests/ColorTest.php b/core/modules/color/src/Tests/ColorTest.php index 578f7fb..d539efd 100644 --- a/core/modules/color/src/Tests/ColorTest.php +++ b/core/modules/color/src/Tests/ColorTest.php @@ -2,7 +2,7 @@ namespace Drupal\color\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Modify the Bartik theme colors and make sure the changes are reflected on the diff --git a/core/modules/comment/src/Tests/CommentBookTest.php b/core/modules/comment/src/Tests/CommentBookTest.php index b23028b..447cd15 100644 --- a/core/modules/comment/src/Tests/CommentBookTest.php +++ b/core/modules/comment/src/Tests/CommentBookTest.php @@ -4,7 +4,7 @@ use Drupal\comment\CommentInterface; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\comment\Entity\Comment; /** diff --git a/core/modules/comment/src/Tests/CommentLanguageTest.php b/core/modules/comment/src/Tests/CommentLanguageTest.php index c60f827..aba6d73 100644 --- a/core/modules/comment/src/Tests/CommentLanguageTest.php +++ b/core/modules/comment/src/Tests/CommentLanguageTest.php @@ -5,7 +5,7 @@ use Drupal\comment\Entity\Comment; use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for comment language. diff --git a/core/modules/comment/src/Tests/CommentNonNodeTest.php b/core/modules/comment/src/Tests/CommentNonNodeTest.php index 1b37c1f..e0b67f3 100644 --- a/core/modules/comment/src/Tests/CommentNonNodeTest.php +++ b/core/modules/comment/src/Tests/CommentNonNodeTest.php @@ -10,7 +10,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; use Drupal\field_ui\Tests\FieldUiTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Entity\EntityInterface; use Drupal\user\RoleInterface; diff --git a/core/modules/comment/src/Tests/CommentTestBase.php b/core/modules/comment/src/Tests/CommentTestBase.php index f4beadc..efbd06d 100644 --- a/core/modules/comment/src/Tests/CommentTestBase.php +++ b/core/modules/comment/src/Tests/CommentTestBase.php @@ -8,7 +8,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Provides setup and helper methods for comment tests. diff --git a/core/modules/comment/src/Tests/CommentUninstallTest.php b/core/modules/comment/src/Tests/CommentUninstallTest.php index 4d86df9..4bc164c 100644 --- a/core/modules/comment/src/Tests/CommentUninstallTest.php +++ b/core/modules/comment/src/Tests/CommentUninstallTest.php @@ -4,7 +4,7 @@ use Drupal\field\Entity\FieldStorageConfig; use Drupal\Core\Extension\ModuleUninstallValidatorException; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests comment module uninstallation. diff --git a/core/modules/config/src/Tests/CacheabilityMetadataConfigOverrideIntegrationTest.php b/core/modules/config/src/Tests/CacheabilityMetadataConfigOverrideIntegrationTest.php index 3ef0754..190bc48 100644 --- a/core/modules/config/src/Tests/CacheabilityMetadataConfigOverrideIntegrationTest.php +++ b/core/modules/config/src/Tests/CacheabilityMetadataConfigOverrideIntegrationTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests if configuration overrides correctly affect cacheability metadata. diff --git a/core/modules/config/src/Tests/ConfigDependencyWebTest.php b/core/modules/config/src/Tests/ConfigDependencyWebTest.php index 5eb5206..3d79f3c 100644 --- a/core/modules/config/src/Tests/ConfigDependencyWebTest.php +++ b/core/modules/config/src/Tests/ConfigDependencyWebTest.php @@ -3,7 +3,7 @@ namespace Drupal\config\Tests; use Drupal\Core\Config\Entity\ConfigEntityStorage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests configuration entities. diff --git a/core/modules/config/src/Tests/ConfigEntityFormOverrideTest.php b/core/modules/config/src/Tests/ConfigEntityFormOverrideTest.php index 92693c4..4bd49b8 100644 --- a/core/modules/config/src/Tests/ConfigEntityFormOverrideTest.php +++ b/core/modules/config/src/Tests/ConfigEntityFormOverrideTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that config overrides do not bleed through in entity forms and lists. diff --git a/core/modules/config/src/Tests/ConfigEntityListMultilingualTest.php b/core/modules/config/src/Tests/ConfigEntityListMultilingualTest.php index f5c12d8..091ea16 100644 --- a/core/modules/config/src/Tests/ConfigEntityListMultilingualTest.php +++ b/core/modules/config/src/Tests/ConfigEntityListMultilingualTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\language\Entity\ConfigurableLanguage; /** diff --git a/core/modules/config/src/Tests/ConfigEntityListTest.php b/core/modules/config/src/Tests/ConfigEntityListTest.php index 9d31de0..cda553e 100644 --- a/core/modules/config/src/Tests/ConfigEntityListTest.php +++ b/core/modules/config/src/Tests/ConfigEntityListTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\config_test\Entity\ConfigTest; use Drupal\Core\Entity\EntityStorageInterface; diff --git a/core/modules/config/src/Tests/ConfigEntityStatusUITest.php b/core/modules/config/src/Tests/ConfigEntityStatusUITest.php index 95dd9da..53dbaea 100644 --- a/core/modules/config/src/Tests/ConfigEntityStatusUITest.php +++ b/core/modules/config/src/Tests/ConfigEntityStatusUITest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests configuration entity status UI functionality. diff --git a/core/modules/config/src/Tests/ConfigEntityTest.php b/core/modules/config/src/Tests/ConfigEntityTest.php index a8a8f0f..8d8a58c 100644 --- a/core/modules/config/src/Tests/ConfigEntityTest.php +++ b/core/modules/config/src/Tests/ConfigEntityTest.php @@ -8,7 +8,7 @@ use Drupal\Core\Config\Entity\ConfigEntityStorage; use Drupal\Core\Config\Entity\Exception\ConfigEntityIdLengthException; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests configuration entities. diff --git a/core/modules/config/src/Tests/ConfigExportImportUITest.php b/core/modules/config/src/Tests/ConfigExportImportUITest.php index 828d4aa..0dabafc 100644 --- a/core/modules/config/src/Tests/ConfigExportImportUITest.php +++ b/core/modules/config/src/Tests/ConfigExportImportUITest.php @@ -6,7 +6,7 @@ use Drupal\Core\Archiver\ArchiveTar; use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the user interface for importing/exporting configuration. diff --git a/core/modules/config/src/Tests/ConfigExportUITest.php b/core/modules/config/src/Tests/ConfigExportUITest.php index 095c585..dc5c59a 100644 --- a/core/modules/config/src/Tests/ConfigExportUITest.php +++ b/core/modules/config/src/Tests/ConfigExportUITest.php @@ -4,7 +4,7 @@ use Drupal\Component\Serialization\Yaml; use Drupal\Core\Archiver\Tar; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the user interface for exporting configuration. diff --git a/core/modules/config/src/Tests/ConfigFormOverrideTest.php b/core/modules/config/src/Tests/ConfigFormOverrideTest.php index ffd4428..2cdd070 100644 --- a/core/modules/config/src/Tests/ConfigFormOverrideTest.php +++ b/core/modules/config/src/Tests/ConfigFormOverrideTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests config overrides do not appear on forms that extend ConfigFormBase. diff --git a/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php b/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php index 0c74c7f..16e1c3c 100644 --- a/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php +++ b/core/modules/config/src/Tests/ConfigImportInstallProfileTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the importing/exporting configuration based on the install profile. diff --git a/core/modules/config/src/Tests/ConfigImportUITest.php b/core/modules/config/src/Tests/ConfigImportUITest.php index afa9b99..a214b29 100644 --- a/core/modules/config/src/Tests/ConfigImportUITest.php +++ b/core/modules/config/src/Tests/ConfigImportUITest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Html; use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Config\InstallStorage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the user interface for importing/exporting configuration. diff --git a/core/modules/config/src/Tests/ConfigImportUploadTest.php b/core/modules/config/src/Tests/ConfigImportUploadTest.php index 9836d77..c9f2202 100644 --- a/core/modules/config/src/Tests/ConfigImportUploadTest.php +++ b/core/modules/config/src/Tests/ConfigImportUploadTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests importing configuration from an uploaded file. diff --git a/core/modules/config/src/Tests/ConfigInstallProfileOverrideTest.php b/core/modules/config/src/Tests/ConfigInstallProfileOverrideTest.php index c2cea6d..f883366 100644 --- a/core/modules/config/src/Tests/ConfigInstallProfileOverrideTest.php +++ b/core/modules/config/src/Tests/ConfigInstallProfileOverrideTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Crypt; use Drupal\Core\Config\InstallStorage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Config\FileStorage; use Drupal\system\Entity\Action; use Drupal\tour\Entity\Tour; diff --git a/core/modules/config/src/Tests/ConfigInstallWebTest.php b/core/modules/config/src/Tests/ConfigInstallWebTest.php index 083b123..f774011 100644 --- a/core/modules/config/src/Tests/ConfigInstallWebTest.php +++ b/core/modules/config/src/Tests/ConfigInstallWebTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Config\PreExistingConfigException; use Drupal\Core\Config\StorageInterface; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests installation and removal of configuration objects in install, disable diff --git a/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php b/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php index f966e5f..dfee757 100644 --- a/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php +++ b/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests language overrides applied through the website. diff --git a/core/modules/config/src/Tests/ConfigOtherModuleTest.php b/core/modules/config/src/Tests/ConfigOtherModuleTest.php index 56c4b31..4d67293 100644 --- a/core/modules/config/src/Tests/ConfigOtherModuleTest.php +++ b/core/modules/config/src/Tests/ConfigOtherModuleTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests default configuration provided by a module that does not own it. diff --git a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php index 876cbfd..e8e74c0 100644 --- a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php +++ b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php @@ -3,7 +3,7 @@ namespace Drupal\config\Tests; use Drupal\Component\Serialization\Yaml; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the user interface for importing/exporting a single configuration. diff --git a/core/modules/config/src/Tests/LanguageNegotiationFormOverrideTest.php b/core/modules/config/src/Tests/LanguageNegotiationFormOverrideTest.php index 1aa4c9a..5d59756 100644 --- a/core/modules/config/src/Tests/LanguageNegotiationFormOverrideTest.php +++ b/core/modules/config/src/Tests/LanguageNegotiationFormOverrideTest.php @@ -2,7 +2,7 @@ namespace Drupal\config\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests language-negotiation overrides are not on language-negotiation form. diff --git a/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php b/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php index 45aabc8..066ecc9 100644 --- a/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php +++ b/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php @@ -3,7 +3,7 @@ namespace Drupal\config\Tests; use Drupal\Core\Config\Schema\SchemaIncompleteException; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the functionality of ConfigSchemaChecker in WebTestBase tests. diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php index ceb69d0..84cb15d 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationDateFormatUiTest.php @@ -3,7 +3,7 @@ namespace Drupal\config_translation\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the content translation behaviours on date formats. diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php index 648f047..a46836b 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationFormTest.php @@ -3,7 +3,7 @@ namespace Drupal\config_translation\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for altering configuration translation forms. diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php index 8bd3d71..463e09a 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php @@ -7,7 +7,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\shortcut\Entity\ShortcutSet; use Drupal\contact\Entity\ContactForm; use Drupal\filter\Entity\FilterFormat; diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php index e7c58fd..a92702a 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Html; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Translate settings and entities to various languages. diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php index b69357e..51f5bf0 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiTest.php @@ -12,7 +12,7 @@ use Drupal\field\Entity\FieldStorageConfig; use Drupal\filter\Entity\FilterFormat; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Translate settings and entities to various languages. diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php index ab51a43..688c438 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php @@ -3,7 +3,7 @@ namespace Drupal\config_translation\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Verifies theme configuration translation settings. diff --git a/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php b/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php index eb7c527..f8321e4 100644 --- a/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php +++ b/core/modules/contact/src/Tests/ContactAuthenticatedUserTest.php @@ -2,7 +2,7 @@ namespace Drupal\contact\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests contact form textfields are present if authenticated. diff --git a/core/modules/contact/src/Tests/ContactLanguageTest.php b/core/modules/contact/src/Tests/ContactLanguageTest.php index 4623bda..856c486 100644 --- a/core/modules/contact/src/Tests/ContactLanguageTest.php +++ b/core/modules/contact/src/Tests/ContactLanguageTest.php @@ -2,7 +2,7 @@ namespace Drupal\contact\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests contact messages with language module. diff --git a/core/modules/contact/src/Tests/ContactPersonalTest.php b/core/modules/contact/src/Tests/ContactPersonalTest.php index 936aed5..7aa64b9 100644 --- a/core/modules/contact/src/Tests/ContactPersonalTest.php +++ b/core/modules/contact/src/Tests/ContactPersonalTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\Component\Render\PlainTextOutput; use Drupal\Core\Session\AccountInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/contact/src/Tests/ContactSitewideTest.php b/core/modules/contact/src/Tests/ContactSitewideTest.php index b049f25..d1d1c5c 100644 --- a/core/modules/contact/src/Tests/ContactSitewideTest.php +++ b/core/modules/contact/src/Tests/ContactSitewideTest.php @@ -6,7 +6,7 @@ use Drupal\contact\Entity\ContactForm; use Drupal\Core\Mail\MailFormatHelper; use Drupal\field_ui\Tests\FieldUiTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\user\RoleInterface; diff --git a/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php b/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php index efbd3c1..66a4ef8 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationContextualLinksTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Serialization\Json; use Drupal\field\Entity\FieldConfig; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php b/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php index fb13642..7788ca4 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationEnableTest.php @@ -2,7 +2,7 @@ namespace Drupal\content_translation\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Test enabling content translation module. diff --git a/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php b/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php index 03f30a1..8609bd4 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationEntityBundleUITest.php @@ -2,7 +2,7 @@ namespace Drupal\content_translation\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the content translation behaviours on entity bundle UI. diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php index d7490c0..c4404c2 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationSettingsTest.php @@ -8,7 +8,7 @@ use Drupal\Core\Language\Language; use Drupal\field\Entity\FieldConfig; use Drupal\language\Entity\ContentLanguageSettings; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the content translation settings UI. diff --git a/core/modules/content_translation/src/Tests/ContentTranslationStandardFieldsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationStandardFieldsTest.php index 8d2ec13..49ba010 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationStandardFieldsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationStandardFieldsTest.php @@ -2,7 +2,7 @@ namespace Drupal\content_translation\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the Content translation settings using the standard profile. diff --git a/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php b/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php index 5d9a8d0..1ee4ac8 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationTestBase.php @@ -5,7 +5,7 @@ use Drupal\Core\Entity\Sql\SqlContentEntityStorage; use Drupal\field\Entity\FieldConfig; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php b/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php index 2f8be23..16d2319 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationUISkipTest.php @@ -2,7 +2,7 @@ namespace Drupal\content_translation\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the content translation UI check skip. diff --git a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php index e5d2c85..5f13ca0 100644 --- a/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php +++ b/core/modules/contextual/src/Tests/ContextualDynamicContextTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Serialization\Json; use Drupal\Core\Url; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Template\Attribute; /** diff --git a/core/modules/datetime/src/Tests/DateTimeFieldTest.php b/core/modules/datetime/src/Tests/DateTimeFieldTest.php index ce598bf..bf8f967 100644 --- a/core/modules/datetime/src/Tests/DateTimeFieldTest.php +++ b/core/modules/datetime/src/Tests/DateTimeFieldTest.php @@ -11,7 +11,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Datetime field functionality. diff --git a/core/modules/dblog/src/Tests/ConnectionFailureTest.php b/core/modules/dblog/src/Tests/ConnectionFailureTest.php index d800224..e733d00 100644 --- a/core/modules/dblog/src/Tests/ConnectionFailureTest.php +++ b/core/modules/dblog/src/Tests/ConnectionFailureTest.php @@ -3,7 +3,7 @@ namespace Drupal\dblog\Tests; use Drupal\Core\Database\Database; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests logging of connection failures. diff --git a/core/modules/dblog/src/Tests/DbLogTest.php b/core/modules/dblog/src/Tests/DbLogTest.php index 90cb6c2..fa763f1 100644 --- a/core/modules/dblog/src/Tests/DbLogTest.php +++ b/core/modules/dblog/src/Tests/DbLogTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Logger\RfcLogLevel; use Drupal\Core\Url; use Drupal\dblog\Controller\DbLogController; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Generate events and verify dblog entries; verify user access to log reports diff --git a/core/modules/dynamic_page_cache/src/Tests/DynamicPageCacheIntegrationTest.php b/core/modules/dynamic_page_cache/src/Tests/DynamicPageCacheIntegrationTest.php index 067a104..3b4f662 100644 --- a/core/modules/dynamic_page_cache/src/Tests/DynamicPageCacheIntegrationTest.php +++ b/core/modules/dynamic_page_cache/src/Tests/DynamicPageCacheIntegrationTest.php @@ -5,7 +5,7 @@ use Drupal\Core\EventSubscriber\MainContentViewSubscriber; use Drupal\Core\Url; use Drupal\dynamic_page_cache\EventSubscriber\DynamicPageCacheSubscriber; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Enables the Dynamic Page Cache and tests it in various scenarios. diff --git a/core/modules/editor/src/Tests/EditorAdminTest.php b/core/modules/editor/src/Tests/EditorAdminTest.php index 97d47b1..5634032 100644 --- a/core/modules/editor/src/Tests/EditorAdminTest.php +++ b/core/modules/editor/src/Tests/EditorAdminTest.php @@ -6,7 +6,7 @@ use Drupal\filter\Entity\FilterFormat; use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests administration of text editors. diff --git a/core/modules/editor/src/Tests/EditorLoadingTest.php b/core/modules/editor/src/Tests/EditorLoadingTest.php index 88055e9..0a1f7be 100644 --- a/core/modules/editor/src/Tests/EditorLoadingTest.php +++ b/core/modules/editor/src/Tests/EditorLoadingTest.php @@ -5,7 +5,7 @@ use Drupal\editor\Entity\Editor; use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/editor/src/Tests/EditorSecurityTest.php b/core/modules/editor/src/Tests/EditorSecurityTest.php index c771439..5511030 100644 --- a/core/modules/editor/src/Tests/EditorSecurityTest.php +++ b/core/modules/editor/src/Tests/EditorSecurityTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Serialization\Json; use Drupal\editor\Entity\Editor; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php b/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php index 5ac88c7..79219e0 100644 --- a/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php +++ b/core/modules/editor/src/Tests/EditorUploadImageScaleTest.php @@ -4,7 +4,7 @@ use Drupal\editor\Entity\Editor; use Drupal\filter\Entity\FilterFormat; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests scaling of inline images. diff --git a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php index 9a41f6b..0b62404 100644 --- a/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php +++ b/core/modules/editor/src/Tests/QuickEditIntegrationLoadingTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Serialization\Json; use Drupal\Core\EventSubscriber\MainContentViewSubscriber; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php b/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php index 30f67d1..ed2350f 100644 --- a/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php +++ b/core/modules/field/src/Tests/Boolean/BooleanFieldTest.php @@ -6,7 +6,7 @@ use Drupal\entity_test\Entity\EntityTest; use Drupal\field\Entity\FieldStorageConfig; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests boolean field functionality. diff --git a/core/modules/field/src/Tests/Boolean/BooleanFormatterSettingsTest.php b/core/modules/field/src/Tests/Boolean/BooleanFormatterSettingsTest.php index 0d0c475..c381bc7 100644 --- a/core/modules/field/src/Tests/Boolean/BooleanFormatterSettingsTest.php +++ b/core/modules/field/src/Tests/Boolean/BooleanFormatterSettingsTest.php @@ -6,7 +6,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the Boolean field formatter settings. diff --git a/core/modules/field/src/Tests/Email/EmailFieldTest.php b/core/modules/field/src/Tests/Email/EmailFieldTest.php index 7c22861..b87a925 100644 --- a/core/modules/field/src/Tests/Email/EmailFieldTest.php +++ b/core/modules/field/src/Tests/Email/EmailFieldTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\entity_test\Entity\EntityTest; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php index d781084..a1d7ee2 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceAdminTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\field_ui\Tests\FieldUiTestTrait; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Vocabulary; /** diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php index 0f35fde..9e045d6 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceAutoCreateTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Vocabulary; use Drupal\node\Entity\Node; use Drupal\field\Entity\FieldStorageConfig; diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php index 6433958..e7bfdc5 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldDefaultValueTest.php @@ -7,7 +7,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests entity reference field default values storage in CMI. diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php index d93b2ac..946b88d 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php @@ -5,7 +5,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Core\Field\FieldStorageDefinitionInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php index 6aef0f8..36cb2e4 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceFileUploadTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceIntegrationTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceIntegrationTest.php index bae3041..5d90caa 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceIntegrationTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceIntegrationTest.php @@ -6,7 +6,7 @@ use Drupal\config\Tests\AssertConfigEntityImportTrait; use Drupal\entity_test\Entity\EntityTest; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests various Entity reference UI components. diff --git a/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php b/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php index f72312f..c8744ec 100644 --- a/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php +++ b/core/modules/field/src/Tests/EntityReference/EntityReferenceXSSTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Entity\Entity\EntityFormDisplay; use Drupal\Core\Entity\Entity\EntityViewDisplay; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests possible XSS security issues in entity references. diff --git a/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php b/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php index e677dbc..007c105 100644 --- a/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php +++ b/core/modules/field/src/Tests/EntityReference/Views/SelectionTest.php @@ -3,7 +3,7 @@ namespace Drupal\field\Tests\EntityReference\Views; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\views\Views; use Drupal\field\Entity\FieldStorageConfig; diff --git a/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php b/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php index e7f5a4c..35f1102 100644 --- a/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php +++ b/core/modules/field/src/Tests/FieldDefaultValueCallbackTest.php @@ -4,7 +4,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the default value callback. diff --git a/core/modules/field/src/Tests/FieldHelpTest.php b/core/modules/field/src/Tests/FieldHelpTest.php index 1103320..8edd9f6 100644 --- a/core/modules/field/src/Tests/FieldHelpTest.php +++ b/core/modules/field/src/Tests/FieldHelpTest.php @@ -2,7 +2,7 @@ namespace Drupal\field\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests help display for the Field module. diff --git a/core/modules/field/src/Tests/FieldTestBase.php b/core/modules/field/src/Tests/FieldTestBase.php index 18259f6..9623d01 100644 --- a/core/modules/field/src/Tests/FieldTestBase.php +++ b/core/modules/field/src/Tests/FieldTestBase.php @@ -4,7 +4,7 @@ use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Parent class for Field API tests. diff --git a/core/modules/field/src/Tests/Number/NumberFieldTest.php b/core/modules/field/src/Tests/Number/NumberFieldTest.php index 14777ec..ee6da3f 100644 --- a/core/modules/field/src/Tests/Number/NumberFieldTest.php +++ b/core/modules/field/src/Tests/Number/NumberFieldTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\field\Entity\FieldConfig; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/field/src/Tests/String/StringFieldTest.php b/core/modules/field/src/Tests/String/StringFieldTest.php index 0ac5748..e849617 100644 --- a/core/modules/field/src/Tests/String/StringFieldTest.php +++ b/core/modules/field/src/Tests/String/StringFieldTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\entity_test\Entity\EntityTest; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/field/src/Tests/reEnableModuleFieldTest.php b/core/modules/field/src/Tests/reEnableModuleFieldTest.php index b718e75..5e34cc2 100644 --- a/core/modules/field/src/Tests/reEnableModuleFieldTest.php +++ b/core/modules/field/src/Tests/reEnableModuleFieldTest.php @@ -3,7 +3,7 @@ namespace Drupal\field\Tests; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/field_ui/src/Tests/EntityDisplayModeTest.php b/core/modules/field_ui/src/Tests/EntityDisplayModeTest.php index f808a1e..5d31ad9 100644 --- a/core/modules/field_ui/src/Tests/EntityDisplayModeTest.php +++ b/core/modules/field_ui/src/Tests/EntityDisplayModeTest.php @@ -2,7 +2,7 @@ namespace Drupal\field_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the entity display modes UI. diff --git a/core/modules/field_ui/src/Tests/FieldUIDeleteTest.php b/core/modules/field_ui/src/Tests/FieldUIDeleteTest.php index 59469ac..af1f9f3 100644 --- a/core/modules/field_ui/src/Tests/FieldUIDeleteTest.php +++ b/core/modules/field_ui/src/Tests/FieldUIDeleteTest.php @@ -4,7 +4,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\views\Tests\ViewTestData; /** diff --git a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php index 898b417..d8b88c5 100644 --- a/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php +++ b/core/modules/field_ui/src/Tests/FieldUIIndentationTest.php @@ -2,7 +2,7 @@ namespace Drupal\field_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests indentation on Field UI. diff --git a/core/modules/field_ui/src/Tests/FieldUIRouteTest.php b/core/modules/field_ui/src/Tests/FieldUIRouteTest.php index 6533f09..850dc48 100644 --- a/core/modules/field_ui/src/Tests/FieldUIRouteTest.php +++ b/core/modules/field_ui/src/Tests/FieldUIRouteTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Entity\Entity\EntityFormMode; use Drupal\Core\Entity\Entity\EntityViewMode; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the functionality of the Field UI route subscriber. diff --git a/core/modules/field_ui/src/Tests/ManageDisplayTest.php b/core/modules/field_ui/src/Tests/ManageDisplayTest.php index 4cd2901..d694192 100644 --- a/core/modules/field_ui/src/Tests/ManageDisplayTest.php +++ b/core/modules/field_ui/src/Tests/ManageDisplayTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Language\LanguageInterface; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Vocabulary; /** diff --git a/core/modules/field_ui/src/Tests/ManageFieldsTest.php b/core/modules/field_ui/src/Tests/ManageFieldsTest.php index cbe9f53..440b5cb 100644 --- a/core/modules/field_ui/src/Tests/ManageFieldsTest.php +++ b/core/modules/field_ui/src/Tests/ManageFieldsTest.php @@ -8,7 +8,7 @@ use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait; use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Vocabulary; /** diff --git a/core/modules/file/src/Tests/FileFieldTestBase.php b/core/modules/file/src/Tests/FileFieldTestBase.php index 307eb4d..08e90ef 100644 --- a/core/modules/file/src/Tests/FileFieldTestBase.php +++ b/core/modules/file/src/Tests/FileFieldTestBase.php @@ -5,7 +5,7 @@ use Drupal\field\Entity\FieldStorageConfig; use Drupal\field\Entity\FieldConfig; use Drupal\file\FileInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\file\Entity\File; /** diff --git a/core/modules/file/src/Tests/FileManagedTestBase.php b/core/modules/file/src/Tests/FileManagedTestBase.php index 6eeb81f..44f88a6 100644 --- a/core/modules/file/src/Tests/FileManagedTestBase.php +++ b/core/modules/file/src/Tests/FileManagedTestBase.php @@ -4,7 +4,7 @@ use Drupal\file\Entity\File; use Drupal\file\FileInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Base class for file tests that use the file_test module to test uploads and diff --git a/core/modules/filter/src/Tests/FilterAdminTest.php b/core/modules/filter/src/Tests/FilterAdminTest.php index e71b57a..bab9495 100644 --- a/core/modules/filter/src/Tests/FilterAdminTest.php +++ b/core/modules/filter/src/Tests/FilterAdminTest.php @@ -7,7 +7,7 @@ use Drupal\filter\Entity\FilterFormat; use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/filter/src/Tests/FilterCaptionTwigDebugTest.php b/core/modules/filter/src/Tests/FilterCaptionTwigDebugTest.php index cd5e8e2..1ec9bc4 100644 --- a/core/modules/filter/src/Tests/FilterCaptionTwigDebugTest.php +++ b/core/modules/filter/src/Tests/FilterCaptionTwigDebugTest.php @@ -3,7 +3,7 @@ namespace Drupal\filter\Tests; use Drupal\Core\Render\RenderContext; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\FilterPluginCollection; /** diff --git a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php index 39a6295..b2d1c36 100644 --- a/core/modules/filter/src/Tests/FilterDefaultFormatTest.php +++ b/core/modules/filter/src/Tests/FilterDefaultFormatTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\filter\Entity\FilterFormat; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the default text formats for different users. diff --git a/core/modules/filter/src/Tests/FilterFormTest.php b/core/modules/filter/src/Tests/FilterFormTest.php index 24bbc15..3a2672a 100644 --- a/core/modules/filter/src/Tests/FilterFormTest.php +++ b/core/modules/filter/src/Tests/FilterFormTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\filter\Entity\FilterFormat; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form elements with associated text formats. diff --git a/core/modules/filter/src/Tests/FilterFormatAccessTest.php b/core/modules/filter/src/Tests/FilterFormatAccessTest.php index 496cfb8..eb62f38 100644 --- a/core/modules/filter/src/Tests/FilterFormatAccessTest.php +++ b/core/modules/filter/src/Tests/FilterFormatAccessTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\Core\Access\AccessResult; use Drupal\filter\Entity\FilterFormat; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests access to text formats. diff --git a/core/modules/filter/src/Tests/FilterHooksTest.php b/core/modules/filter/src/Tests/FilterHooksTest.php index 5353ccb..6d16eda 100644 --- a/core/modules/filter/src/Tests/FilterHooksTest.php +++ b/core/modules/filter/src/Tests/FilterHooksTest.php @@ -3,7 +3,7 @@ namespace Drupal\filter\Tests; use Drupal\Component\Utility\Unicode; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php index 5ce4e6d..332f77c 100644 --- a/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php +++ b/core/modules/filter/src/Tests/FilterHtmlImageSecureTest.php @@ -4,7 +4,7 @@ use Drupal\comment\Tests\CommentTestTrait; use Drupal\Core\StreamWrapper\PublicStream; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/filter/src/Tests/FilterNoFormatTest.php b/core/modules/filter/src/Tests/FilterNoFormatTest.php index 3dcc9f6..aafe363 100644 --- a/core/modules/filter/src/Tests/FilterNoFormatTest.php +++ b/core/modules/filter/src/Tests/FilterNoFormatTest.php @@ -2,7 +2,7 @@ namespace Drupal\filter\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the behavior of check_markup() when it is called without text format. diff --git a/core/modules/filter/src/Tests/FilterSecurityTest.php b/core/modules/filter/src/Tests/FilterSecurityTest.php index 12cd97a..e1ff946 100644 --- a/core/modules/filter/src/Tests/FilterSecurityTest.php +++ b/core/modules/filter/src/Tests/FilterSecurityTest.php @@ -3,7 +3,7 @@ namespace Drupal\filter\Tests; use Drupal\filter\Entity\FilterFormat; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Plugin\FilterInterface; use Drupal\user\RoleInterface; diff --git a/core/modules/hal/src/Tests/FileDenormalizeTest.php b/core/modules/hal/src/Tests/FileDenormalizeTest.php index f160634..9747013 100644 --- a/core/modules/hal/src/Tests/FileDenormalizeTest.php +++ b/core/modules/hal/src/Tests/FileDenormalizeTest.php @@ -3,7 +3,7 @@ namespace Drupal\hal\Tests; use Drupal\file\Entity\File; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that file entities can be denormalized in HAL. diff --git a/core/modules/history/src/Tests/HistoryTest.php b/core/modules/history/src/Tests/HistoryTest.php index 17bba34..17d7cc0 100644 --- a/core/modules/history/src/Tests/HistoryTest.php +++ b/core/modules/history/src/Tests/HistoryTest.php @@ -3,7 +3,7 @@ namespace Drupal\history\Tests; use Drupal\Component\Serialization\Json; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the History endpoints. diff --git a/core/modules/image/src/Tests/FileMoveTest.php b/core/modules/image/src/Tests/FileMoveTest.php index 1957994..5f69066 100644 --- a/core/modules/image/src/Tests/FileMoveTest.php +++ b/core/modules/image/src/Tests/FileMoveTest.php @@ -3,7 +3,7 @@ namespace Drupal\image\Tests; use Drupal\file\Entity\File; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\image\Entity\ImageStyle; /** diff --git a/core/modules/image/src/Tests/ImageDimensionsTest.php b/core/modules/image/src/Tests/ImageDimensionsTest.php index 6f73042..3b411fe 100644 --- a/core/modules/image/src/Tests/ImageDimensionsTest.php +++ b/core/modules/image/src/Tests/ImageDimensionsTest.php @@ -3,7 +3,7 @@ namespace Drupal\image\Tests; use Drupal\image\Entity\ImageStyle; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that images have correct dimensions when styled. diff --git a/core/modules/image/src/Tests/ImageFieldTestBase.php b/core/modules/image/src/Tests/ImageFieldTestBase.php index 6081d32..a8651d6 100644 --- a/core/modules/image/src/Tests/ImageFieldTestBase.php +++ b/core/modules/image/src/Tests/ImageFieldTestBase.php @@ -3,7 +3,7 @@ namespace Drupal\image\Tests; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php b/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php index f146ccc..f26c7af 100644 --- a/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php +++ b/core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php @@ -3,7 +3,7 @@ namespace Drupal\image\Tests; use Drupal\image\Entity\ImageStyle; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the functions for generating paths and URLs for image styles. diff --git a/core/modules/image/src/Tests/ImageThemeFunctionTest.php b/core/modules/image/src/Tests/ImageThemeFunctionTest.php index 52cf6c6..ecff884 100644 --- a/core/modules/image/src/Tests/ImageThemeFunctionTest.php +++ b/core/modules/image/src/Tests/ImageThemeFunctionTest.php @@ -8,7 +8,7 @@ use Drupal\field\Entity\FieldConfig; use Drupal\file\Entity\File; use Drupal\image\Entity\ImageStyle; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php b/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php index 3cc00f9..b091dac 100644 --- a/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php +++ b/core/modules/language/src/Tests/AdminPathEntityConverterLanguageTest.php @@ -3,7 +3,7 @@ namespace Drupal\language\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Test administration path based conversion of entities. diff --git a/core/modules/language/src/Tests/EntityTypeWithoutLanguageFormTest.php b/core/modules/language/src/Tests/EntityTypeWithoutLanguageFormTest.php index 20a3532..b785d9b 100644 --- a/core/modules/language/src/Tests/EntityTypeWithoutLanguageFormTest.php +++ b/core/modules/language/src/Tests/EntityTypeWithoutLanguageFormTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests entity type without language support. diff --git a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php index ee6912e..8459d6c 100644 --- a/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php +++ b/core/modules/language/src/Tests/LanguageBlockSettingsVisibilityTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the language settings on block config appears correctly. diff --git a/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php b/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php index 3991b2a..0848830 100644 --- a/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php +++ b/core/modules/language/src/Tests/LanguageBrowserDetectionTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests browser language detection. diff --git a/core/modules/language/src/Tests/LanguageConfigOverrideImportTest.php b/core/modules/language/src/Tests/LanguageConfigOverrideImportTest.php index 182c3fe..3f2c002 100644 --- a/core/modules/language/src/Tests/LanguageConfigOverrideImportTest.php +++ b/core/modules/language/src/Tests/LanguageConfigOverrideImportTest.php @@ -3,7 +3,7 @@ namespace Drupal\language\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Ensures the language config overrides can be synchronized. diff --git a/core/modules/language/src/Tests/LanguageConfigSchemaTest.php b/core/modules/language/src/Tests/LanguageConfigSchemaTest.php index 97cbbb7..f18f1a0 100644 --- a/core/modules/language/src/Tests/LanguageConfigSchemaTest.php +++ b/core/modules/language/src/Tests/LanguageConfigSchemaTest.php @@ -3,7 +3,7 @@ namespace Drupal\language\Tests; use Drupal\config\Tests\SchemaCheckTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Ensures the language config schema is correct. diff --git a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php index 93b821d..2c06c79 100644 --- a/core/modules/language/src/Tests/LanguageConfigurationElementTest.php +++ b/core/modules/language/src/Tests/LanguageConfigurationElementTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\language\Entity\ContentLanguageSettings; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Vocabulary; /** diff --git a/core/modules/language/src/Tests/LanguageConfigurationTest.php b/core/modules/language/src/Tests/LanguageConfigurationTest.php index cf049f1..4c3dfd8 100644 --- a/core/modules/language/src/Tests/LanguageConfigurationTest.php +++ b/core/modules/language/src/Tests/LanguageConfigurationTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Adds and configures languages to check negotiation changes. diff --git a/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php b/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php index dbd35cd..c2799b8 100644 --- a/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php +++ b/core/modules/language/src/Tests/LanguageCustomLanguageConfigurationTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\Language; use Drupal\Core\Language\LanguageInterface; diff --git a/core/modules/language/src/Tests/LanguageListModuleInstallTest.php b/core/modules/language/src/Tests/LanguageListModuleInstallTest.php index 3df9bdc..04f2840 100644 --- a/core/modules/language/src/Tests/LanguageListModuleInstallTest.php +++ b/core/modules/language/src/Tests/LanguageListModuleInstallTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests enabling Language if a module exists that calls diff --git a/core/modules/language/src/Tests/LanguageListTest.php b/core/modules/language/src/Tests/LanguageListTest.php index d407530..2449a15 100644 --- a/core/modules/language/src/Tests/LanguageListTest.php +++ b/core/modules/language/src/Tests/LanguageListTest.php @@ -3,7 +3,7 @@ namespace Drupal\language\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\Language; use Drupal\Core\Language\LanguageInterface; diff --git a/core/modules/language/src/Tests/LanguageLocaleListTest.php b/core/modules/language/src/Tests/LanguageLocaleListTest.php index dd3e02a..133b47e 100644 --- a/core/modules/language/src/Tests/LanguageLocaleListTest.php +++ b/core/modules/language/src/Tests/LanguageLocaleListTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Adds a new language with translations and tests language list order. diff --git a/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php b/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php index ba0a4db..47eba47 100644 --- a/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php +++ b/core/modules/language/src/Tests/LanguageNegotiationContentEntityTest.php @@ -8,7 +8,7 @@ use Drupal\language\Entity\ConfigurableLanguage; use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationContentEntity; use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Symfony\Cmf\Component\Routing\RouteObjectInterface; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Route; diff --git a/core/modules/language/src/Tests/LanguageNegotiationInfoTest.php b/core/modules/language/src/Tests/LanguageNegotiationInfoTest.php index ee4c6d4..824e641 100644 --- a/core/modules/language/src/Tests/LanguageNegotiationInfoTest.php +++ b/core/modules/language/src/Tests/LanguageNegotiationInfoTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUI; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests alterations to language types/negotiation info. diff --git a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php index 510d805..8c08b6e 100644 --- a/core/modules/language/src/Tests/LanguagePathMonolingualTest.php +++ b/core/modules/language/src/Tests/LanguagePathMonolingualTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Confirm that paths are not changed on monolingual non-English sites. diff --git a/core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php b/core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php index 84d6779..b10da1c 100644 --- a/core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php +++ b/core/modules/language/src/Tests/LanguageSelectorTranslatableTest.php @@ -2,7 +2,7 @@ namespace Drupal\language\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the content translation settings language selector options. diff --git a/core/modules/language/src/Tests/LanguageSwitchingTest.php b/core/modules/language/src/Tests/LanguageSwitchingTest.php index c076e6f..842d49d 100644 --- a/core/modules/language/src/Tests/LanguageSwitchingTest.php +++ b/core/modules/language/src/Tests/LanguageSwitchingTest.php @@ -6,7 +6,7 @@ use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl; use Drupal\menu_link_content\Entity\MenuLinkContent; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Functional tests for the language switching feature. diff --git a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php index ef2abee..746750e 100644 --- a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php +++ b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php @@ -10,7 +10,7 @@ use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl; use Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUser; use Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\Language; use Drupal\Core\Language\LanguageInterface; use Symfony\Component\HttpFoundation\Request; diff --git a/core/modules/language/src/Tests/LanguageUrlRewritingTest.php b/core/modules/language/src/Tests/LanguageUrlRewritingTest.php index 5cd80dc..0ed60f5 100644 --- a/core/modules/language/src/Tests/LanguageUrlRewritingTest.php +++ b/core/modules/language/src/Tests/LanguageUrlRewritingTest.php @@ -6,7 +6,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Url; use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Symfony\Component\HttpFoundation\Request; /** diff --git a/core/modules/link/src/Tests/LinkFieldTest.php b/core/modules/link/src/Tests/LinkFieldTest.php index e85ad53..a3524cc 100644 --- a/core/modules/link/src/Tests/LinkFieldTest.php +++ b/core/modules/link/src/Tests/LinkFieldTest.php @@ -8,7 +8,7 @@ use Drupal\entity_test\Entity\EntityTest; use Drupal\field\Entity\FieldConfig; use Drupal\link\LinkItemInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/link/src/Tests/LinkFieldUITest.php b/core/modules/link/src/Tests/LinkFieldUITest.php index 855c10b..3961355 100644 --- a/core/modules/link/src/Tests/LinkFieldUITest.php +++ b/core/modules/link/src/Tests/LinkFieldUITest.php @@ -5,7 +5,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\field_ui\Tests\FieldUiTestTrait; use Drupal\link\LinkItemInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests link field UI functionality. diff --git a/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php b/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php index 67faa81..841e24b 100644 --- a/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php +++ b/core/modules/locale/src/Tests/LocaleConfigTranslationImportTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\locale\Locale; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\language\Entity\ConfigurableLanguage; /** diff --git a/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php b/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php index 3ee988a..63b4d6d 100644 --- a/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php +++ b/core/modules/locale/src/Tests/LocaleConfigTranslationTest.php @@ -2,7 +2,7 @@ namespace Drupal\locale\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\LanguageInterface; /** diff --git a/core/modules/locale/src/Tests/LocaleContentTest.php b/core/modules/locale/src/Tests/LocaleContentTest.php index 188b574..269a42c 100644 --- a/core/modules/locale/src/Tests/LocaleContentTest.php +++ b/core/modules/locale/src/Tests/LocaleContentTest.php @@ -2,7 +2,7 @@ namespace Drupal\locale\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\LanguageInterface; /** diff --git a/core/modules/locale/src/Tests/LocaleExportTest.php b/core/modules/locale/src/Tests/LocaleExportTest.php index 3d861de..5279a68 100644 --- a/core/modules/locale/src/Tests/LocaleExportTest.php +++ b/core/modules/locale/src/Tests/LocaleExportTest.php @@ -2,7 +2,7 @@ namespace Drupal\locale\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the exportation of locale files. diff --git a/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php b/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php index 1e41755..80c7234 100644 --- a/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php +++ b/core/modules/locale/src/Tests/LocaleFileSystemFormTest.php @@ -2,7 +2,7 @@ namespace Drupal\locale\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the locale functionality in the altered file settings form. diff --git a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php index 0b69da2..5f95a6d 100644 --- a/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php +++ b/core/modules/locale/src/Tests/LocaleImportFunctionalTest.php @@ -2,7 +2,7 @@ namespace Drupal\locale\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\LanguageInterface; /** diff --git a/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php b/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php index b16ba18..0b8411a 100644 --- a/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php +++ b/core/modules/locale/src/Tests/LocaleJavascriptTranslationTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Utility\SafeMarkup; /** diff --git a/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php b/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php index e84e3dd..1a54d42 100644 --- a/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php +++ b/core/modules/locale/src/Tests/LocaleLibraryAlterTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\Core\Asset\AttachedAssets; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests localization of the JavaScript libraries. diff --git a/core/modules/locale/src/Tests/LocaleLocaleLookupTest.php b/core/modules/locale/src/Tests/LocaleLocaleLookupTest.php index ea4f937..178f9dc 100644 --- a/core/modules/locale/src/Tests/LocaleLocaleLookupTest.php +++ b/core/modules/locale/src/Tests/LocaleLocaleLookupTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests LocaleLookup. diff --git a/core/modules/locale/src/Tests/LocalePathTest.php b/core/modules/locale/src/Tests/LocalePathTest.php index cc4f31a..e737d70 100644 --- a/core/modules/locale/src/Tests/LocalePathTest.php +++ b/core/modules/locale/src/Tests/LocalePathTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests you can configure a language for individual URL aliases. diff --git a/core/modules/locale/src/Tests/LocalePluralFormatTest.php b/core/modules/locale/src/Tests/LocalePluralFormatTest.php index 00fe8d5..1bb8fe8 100644 --- a/core/modules/locale/src/Tests/LocalePluralFormatTest.php +++ b/core/modules/locale/src/Tests/LocalePluralFormatTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\Core\StringTranslation\PluralTranslatableMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests plural handling for various languages. diff --git a/core/modules/locale/src/Tests/LocaleStringTest.php b/core/modules/locale/src/Tests/LocaleStringTest.php index 2f467e7..c0167c1 100644 --- a/core/modules/locale/src/Tests/LocaleStringTest.php +++ b/core/modules/locale/src/Tests/LocaleStringTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the locale string storage, string objects and data API. diff --git a/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php b/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php index b117e2c..a2b1725 100644 --- a/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php +++ b/core/modules/locale/src/Tests/LocaleTranslatedSchemaDefinitionTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Adds and configures languages to check field schema definition. diff --git a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php index aad0119..e18cd7f 100644 --- a/core/modules/locale/src/Tests/LocaleTranslationUiTest.php +++ b/core/modules/locale/src/Tests/LocaleTranslationUiTest.php @@ -3,7 +3,7 @@ namespace Drupal\locale\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\LanguageInterface; use Drupal\Component\Utility\SafeMarkup; diff --git a/core/modules/locale/src/Tests/LocaleUpdateBase.php b/core/modules/locale/src/Tests/LocaleUpdateBase.php index 85196ad..3c6159a 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateBase.php +++ b/core/modules/locale/src/Tests/LocaleUpdateBase.php @@ -4,7 +4,7 @@ use Drupal\Core\StreamWrapper\PublicStream; use Drupal\file\Entity\File; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Utility\SafeMarkup; /** diff --git a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php index cfd2446..842e02d 100644 --- a/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php +++ b/core/modules/locale/src/Tests/LocaleUpdateDevelopmentReleaseTest.php @@ -2,7 +2,7 @@ namespace Drupal\locale\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Test for proper version fallback in case of a development release. diff --git a/core/modules/menu_link_content/src/Tests/LinksTest.php b/core/modules/menu_link_content/src/Tests/LinksTest.php index 5fd0ca1..dc5f918 100644 --- a/core/modules/menu_link_content/src/Tests/LinksTest.php +++ b/core/modules/menu_link_content/src/Tests/LinksTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\menu_link_content\Entity\MenuLinkContent; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Entity\Menu; /** diff --git a/core/modules/menu_link_content/src/Tests/MenuLinkContentDeleteFormTest.php b/core/modules/menu_link_content/src/Tests/MenuLinkContentDeleteFormTest.php index e6ec76e..ae32c8f 100644 --- a/core/modules/menu_link_content/src/Tests/MenuLinkContentDeleteFormTest.php +++ b/core/modules/menu_link_content/src/Tests/MenuLinkContentDeleteFormTest.php @@ -3,7 +3,7 @@ namespace Drupal\menu_link_content\Tests; use Drupal\menu_link_content\Entity\MenuLinkContent; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Entity\Menu; /** diff --git a/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php b/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php index 1bdc927..9313195 100644 --- a/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php +++ b/core/modules/menu_link_content/src/Tests/MenuLinkContentFormTest.php @@ -2,7 +2,7 @@ namespace Drupal\menu_link_content\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the menu link content UI. diff --git a/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php b/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php index 0396f17..8675676 100644 --- a/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php +++ b/core/modules/menu_ui/src/Tests/MenuLinkReorderTest.php @@ -2,7 +2,7 @@ namespace Drupal\menu_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Reorder menu items. diff --git a/core/modules/menu_ui/src/Tests/MenuNodeTest.php b/core/modules/menu_ui/src/Tests/MenuNodeTest.php index 3fc8423..dd2e55d 100644 --- a/core/modules/menu_ui/src/Tests/MenuNodeTest.php +++ b/core/modules/menu_ui/src/Tests/MenuNodeTest.php @@ -2,7 +2,7 @@ namespace Drupal\menu_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\menu_link_content\Entity\MenuLinkContent; use Drupal\node\Entity\Node; diff --git a/core/modules/menu_ui/src/Tests/MenuUninstallTest.php b/core/modules/menu_ui/src/Tests/MenuUninstallTest.php index b1ea03c..d74a6d6 100644 --- a/core/modules/menu_ui/src/Tests/MenuUninstallTest.php +++ b/core/modules/menu_ui/src/Tests/MenuUninstallTest.php @@ -2,7 +2,7 @@ namespace Drupal\menu_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Entity\Menu; /** diff --git a/core/modules/menu_ui/src/Tests/MenuWebTestBase.php b/core/modules/menu_ui/src/Tests/MenuWebTestBase.php index c08fc14..905b88a 100644 --- a/core/modules/menu_ui/src/Tests/MenuWebTestBase.php +++ b/core/modules/menu_ui/src/Tests/MenuWebTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\menu_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Base class for menu web tests. diff --git a/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php b/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php index 2401d86..0dd3958 100644 --- a/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php +++ b/core/modules/migrate_drupal_ui/src/Tests/MigrateAccessTest.php @@ -2,7 +2,7 @@ namespace Drupal\migrate_drupal_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that only user 1 can access the migrate UI. diff --git a/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php b/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php index c139291..f4bb76f 100644 --- a/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php +++ b/core/modules/migrate_drupal_ui/src/Tests/MigrateUpgradeTestBase.php @@ -5,7 +5,7 @@ use Drupal\Core\Database\Database; use Drupal\migrate\Plugin\MigrateIdMapInterface; use Drupal\migrate_drupal\MigrationConfigurationTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Provides a base class for testing migration upgrades in the UI. diff --git a/core/modules/node/src/Tests/NodeAccessPagerTest.php b/core/modules/node/src/Tests/NodeAccessPagerTest.php index 7db264c..7fc0cab 100644 --- a/core/modules/node/src/Tests/NodeAccessPagerTest.php +++ b/core/modules/node/src/Tests/NodeAccessPagerTest.php @@ -4,7 +4,7 @@ use Drupal\comment\CommentInterface; use Drupal\comment\Tests\CommentTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\comment\Entity\Comment; /** diff --git a/core/modules/node/src/Tests/NodeActionsConfigurationTest.php b/core/modules/node/src/Tests/NodeActionsConfigurationTest.php index 7a732c6..41b8cbc 100644 --- a/core/modules/node/src/Tests/NodeActionsConfigurationTest.php +++ b/core/modules/node/src/Tests/NodeActionsConfigurationTest.php @@ -3,7 +3,7 @@ namespace Drupal\node\Tests; use Drupal\Component\Utility\Crypt; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Entity\Action; /** diff --git a/core/modules/node/src/Tests/NodeFieldMultilingualTest.php b/core/modules/node/src/Tests/NodeFieldMultilingualTest.php index 9beae5d..8b7dcac 100644 --- a/core/modules/node/src/Tests/NodeFieldMultilingualTest.php +++ b/core/modules/node/src/Tests/NodeFieldMultilingualTest.php @@ -5,7 +5,7 @@ use Drupal\field\Entity\FieldStorageConfig; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\language\Plugin\LanguageNegotiation\LanguageNegotiationUrl; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Language\LanguageInterface; /** diff --git a/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php b/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php index 36c1ccc..07898ae 100644 --- a/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php +++ b/core/modules/node/src/Tests/NodeFormSaveChangedTimeTest.php @@ -2,7 +2,7 @@ namespace Drupal\node\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests updating the changed time after API and FORM entity save. diff --git a/core/modules/node/src/Tests/NodeHelpTest.php b/core/modules/node/src/Tests/NodeHelpTest.php index 2946011..e65a624 100644 --- a/core/modules/node/src/Tests/NodeHelpTest.php +++ b/core/modules/node/src/Tests/NodeHelpTest.php @@ -2,7 +2,7 @@ namespace Drupal\node\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests help functionality for nodes. diff --git a/core/modules/node/src/Tests/NodeTestBase.php b/core/modules/node/src/Tests/NodeTestBase.php index d4799d4..fd7bc13 100644 --- a/core/modules/node/src/Tests/NodeTestBase.php +++ b/core/modules/node/src/Tests/NodeTestBase.php @@ -4,7 +4,7 @@ use Drupal\Core\Session\AccountInterface; use Drupal\node\NodeInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Sets up page and article content types. diff --git a/core/modules/node/src/Tests/NodeTypeTranslationTest.php b/core/modules/node/src/Tests/NodeTypeTranslationTest.php index 1c3a768..a3dfc91 100644 --- a/core/modules/node/src/Tests/NodeTypeTranslationTest.php +++ b/core/modules/node/src/Tests/NodeTypeTranslationTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Ensures that node types translation work correctly. diff --git a/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php b/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php index c8db96e..08ca67e 100644 --- a/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php +++ b/core/modules/page_cache/src/Tests/PageCacheTagsIntegrationTest.php @@ -4,7 +4,7 @@ use Drupal\Core\EventSubscriber\MainContentViewSubscriber; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait; /** diff --git a/core/modules/page_cache/src/Tests/PageCacheTest.php b/core/modules/page_cache/src/Tests/PageCacheTest.php index 64e4ee9..4cadc7b 100644 --- a/core/modules/page_cache/src/Tests/PageCacheTest.php +++ b/core/modules/page_cache/src/Tests/PageCacheTest.php @@ -6,7 +6,7 @@ use Drupal\Core\Site\Settings; use Drupal\Core\Url; use Drupal\entity_test\Entity\EntityTest; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\Cache\Cache; use Drupal\user\Entity\Role; use Drupal\user\RoleInterface; diff --git a/core/modules/path/src/Tests/PathTestBase.php b/core/modules/path/src/Tests/PathTestBase.php index c4a88af..18e1e8a 100644 --- a/core/modules/path/src/Tests/PathTestBase.php +++ b/core/modules/path/src/Tests/PathTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\path\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Provides a base class for testing the Path module. diff --git a/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php b/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php index 1eedb1c..d73f53c 100644 --- a/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php +++ b/core/modules/quickedit/src/Tests/QuickEditAutocompleteTermTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\Core\Language\LanguageInterface; use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Vocabulary; use Drupal\taxonomy\Entity\Term; diff --git a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php index 2a91fec..dc19024 100644 --- a/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php +++ b/core/modules/quickedit/src/Tests/QuickEditLoadingTest.php @@ -11,7 +11,7 @@ use Drupal\Core\Url; use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\filter\Entity\FilterFormat; /** diff --git a/core/modules/rdf/src/Tests/GetNamespacesTest.php b/core/modules/rdf/src/Tests/GetNamespacesTest.php index 8aeaf79..78a3ee6 100644 --- a/core/modules/rdf/src/Tests/GetNamespacesTest.php +++ b/core/modules/rdf/src/Tests/GetNamespacesTest.php @@ -2,7 +2,7 @@ namespace Drupal\rdf\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Confirm that the serialization of RDF namespaces in present in the HTML diff --git a/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php b/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php index 7fde6f0..ed8719d 100644 --- a/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php +++ b/core/modules/rdf/src/Tests/GetRdfNamespacesTest.php @@ -2,7 +2,7 @@ namespace Drupal\rdf\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests hook_rdf_namespaces(). diff --git a/core/modules/rdf/src/Tests/StandardProfileTest.php b/core/modules/rdf/src/Tests/StandardProfileTest.php index e6c358d..a60c60a 100644 --- a/core/modules/rdf/src/Tests/StandardProfileTest.php +++ b/core/modules/rdf/src/Tests/StandardProfileTest.php @@ -7,7 +7,7 @@ use Drupal\image\Entity\ImageStyle; use Drupal\node\Entity\NodeType; use Drupal\node\NodeInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\comment\Entity\Comment; use Drupal\taxonomy\Entity\Term; diff --git a/core/modules/rdf/src/Tests/UserAttributesTest.php b/core/modules/rdf/src/Tests/UserAttributesTest.php index 232b5b2..5cf6cef 100644 --- a/core/modules/rdf/src/Tests/UserAttributesTest.php +++ b/core/modules/rdf/src/Tests/UserAttributesTest.php @@ -2,7 +2,7 @@ namespace Drupal\rdf\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the RDFa markup of Users. diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageAdminUITest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageAdminUITest.php index 8f8b505..2b084a4 100644 --- a/core/modules/responsive_image/src/Tests/ResponsiveImageAdminUITest.php +++ b/core/modules/responsive_image/src/Tests/ResponsiveImageAdminUITest.php @@ -2,7 +2,7 @@ namespace Drupal\responsive_image\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Thoroughly test the administrative interface of the Responsive Image module. diff --git a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php index 8b1030f..a70f31e 100644 --- a/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php +++ b/core/modules/responsive_image/src/Tests/ResponsiveImageFieldUiTest.php @@ -4,7 +4,7 @@ use Drupal\field_ui\Tests\FieldUiTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\responsive_image\Entity\ResponsiveImageStyle; /** diff --git a/core/modules/rest/src/Tests/RESTTestBase.php b/core/modules/rest/src/Tests/RESTTestBase.php index f7cf3dd..5b03d75 100644 --- a/core/modules/rest/src/Tests/RESTTestBase.php +++ b/core/modules/rest/src/Tests/RESTTestBase.php @@ -5,7 +5,7 @@ use Drupal\Core\Config\Entity\ConfigEntityType; use Drupal\node\NodeInterface; use Drupal\rest\RestResourceConfigInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Test helper class that provides a REST client method to send HTTP requests. diff --git a/core/modules/search/src/Tests/SearchTestBase.php b/core/modules/search/src/Tests/SearchTestBase.php index 83967b3..59da71e 100644 --- a/core/modules/search/src/Tests/SearchTestBase.php +++ b/core/modules/search/src/Tests/SearchTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\search\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Utility\SafeMarkup; /** diff --git a/core/modules/shortcut/src/Tests/ShortcutTestBase.php b/core/modules/shortcut/src/Tests/ShortcutTestBase.php index b32afb2..62f52d5 100644 --- a/core/modules/shortcut/src/Tests/ShortcutTestBase.php +++ b/core/modules/shortcut/src/Tests/ShortcutTestBase.php @@ -5,7 +5,7 @@ use Drupal\shortcut\Entity\Shortcut; use Drupal\shortcut\Entity\ShortcutSet; use Drupal\shortcut\ShortcutSetInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Defines base class for shortcut test cases. diff --git a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php index e988f4d..d470d10 100644 --- a/core/modules/simpletest/src/Tests/BrokenSetUpTest.php +++ b/core/modules/simpletest/src/Tests/BrokenSetUpTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests a test case that does not call parent::setUp(). diff --git a/core/modules/simpletest/src/Tests/BrowserTest.php b/core/modules/simpletest/src/Tests/BrowserTest.php index f98fe48..d504834 100644 --- a/core/modules/simpletest/src/Tests/BrowserTest.php +++ b/core/modules/simpletest/src/Tests/BrowserTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the internal browser of the testing framework. diff --git a/core/modules/simpletest/src/Tests/FolderTest.php b/core/modules/simpletest/src/Tests/FolderTest.php index d43c638..7a8bc6e 100644 --- a/core/modules/simpletest/src/Tests/FolderTest.php +++ b/core/modules/simpletest/src/Tests/FolderTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * This test will check SimpleTest's treatment of hook_install during setUp. diff --git a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php index a1063e7..a2df5eb 100644 --- a/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php +++ b/core/modules/simpletest/src/Tests/InstallationProfileModuleTestsTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Verifies that tests bundled with installation profile modules are found. diff --git a/core/modules/simpletest/src/Tests/MailCaptureTest.php b/core/modules/simpletest/src/Tests/MailCaptureTest.php index 700c757..8b99e47 100644 --- a/core/modules/simpletest/src/Tests/MailCaptureTest.php +++ b/core/modules/simpletest/src/Tests/MailCaptureTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the SimpleTest email capturing logic, the assertMail assertion and the diff --git a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php index 0b21d54..dbf2d91 100644 --- a/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php +++ b/core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests a test case with missing requirements. diff --git a/core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php b/core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php index 9c707b8..303180c 100644 --- a/core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php +++ b/core/modules/simpletest/src/Tests/MissingDependentModuleUnitTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * This test should not load since it requires a module that is not found. diff --git a/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php b/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php index b4263f1..a992897 100644 --- a/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php +++ b/core/modules/simpletest/src/Tests/OtherInstallationProfileTestsTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Verifies that tests in other installation profiles are found. diff --git a/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php b/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php index 5d1854b..be90e0f 100644 --- a/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php +++ b/core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php @@ -3,7 +3,7 @@ namespace Drupal\simpletest\Tests; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the Simpletest UI internal browser. diff --git a/core/modules/simpletest/src/Tests/SimpleTestInstallBatchTest.php b/core/modules/simpletest/src/Tests/SimpleTestInstallBatchTest.php index 72cb74c..5f0b81c 100644 --- a/core/modules/simpletest/src/Tests/SimpleTestInstallBatchTest.php +++ b/core/modules/simpletest/src/Tests/SimpleTestInstallBatchTest.php @@ -3,7 +3,7 @@ namespace Drupal\simpletest\Tests; use Drupal\entity_test\Entity\EntityTest; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests batch operations during tests execution. diff --git a/core/modules/simpletest/src/Tests/SimpleTestTest.php b/core/modules/simpletest/src/Tests/SimpleTestTest.php index 19ab17f..3cf14d7 100644 --- a/core/modules/simpletest/src/Tests/SimpleTestTest.php +++ b/core/modules/simpletest/src/Tests/SimpleTestTest.php @@ -3,7 +3,7 @@ namespace Drupal\simpletest\Tests; use Drupal\Component\Utility\Crypt; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests SimpleTest's web interface: check that the intended tests were run and diff --git a/core/modules/simpletest/src/Tests/TimeZoneTest.php b/core/modules/simpletest/src/Tests/TimeZoneTest.php index 2f33eaa..366b8a2 100644 --- a/core/modules/simpletest/src/Tests/TimeZoneTest.php +++ b/core/modules/simpletest/src/Tests/TimeZoneTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * This test will check SimpleTest's default time zone handling. diff --git a/core/modules/simpletest/src/Tests/UserHelpersTest.php b/core/modules/simpletest/src/Tests/UserHelpersTest.php index c3fb00b..d53bfd5 100644 --- a/core/modules/simpletest/src/Tests/UserHelpersTest.php +++ b/core/modules/simpletest/src/Tests/UserHelpersTest.php @@ -2,7 +2,7 @@ namespace Drupal\simpletest\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests User related helper methods of WebTestBase. diff --git a/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php b/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php index 9a69d78..8d1ed50 100644 --- a/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php +++ b/core/modules/simpletest/tests/src/Unit/TestInfoParsingTest.php @@ -417,7 +417,7 @@ public function providerTestGetPhpunitTestSuite() { namespace Drupal\simpletest\Tests { -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the Simpletest UI internal browser. diff --git a/core/modules/statistics/src/Tests/StatisticsAdminTest.php b/core/modules/statistics/src/Tests/StatisticsAdminTest.php index 565925c..524deac 100644 --- a/core/modules/statistics/src/Tests/StatisticsAdminTest.php +++ b/core/modules/statistics/src/Tests/StatisticsAdminTest.php @@ -2,7 +2,7 @@ namespace Drupal\statistics\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the statistics admin. diff --git a/core/modules/statistics/src/Tests/StatisticsAttachedTest.php b/core/modules/statistics/src/Tests/StatisticsAttachedTest.php index f869b2a..8f280c0 100644 --- a/core/modules/statistics/src/Tests/StatisticsAttachedTest.php +++ b/core/modules/statistics/src/Tests/StatisticsAttachedTest.php @@ -2,7 +2,7 @@ namespace Drupal\statistics\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\node\Entity\Node; /** diff --git a/core/modules/statistics/src/Tests/StatisticsLoggingTest.php b/core/modules/statistics/src/Tests/StatisticsLoggingTest.php index 7cfec7c..287bbdc 100644 --- a/core/modules/statistics/src/Tests/StatisticsLoggingTest.php +++ b/core/modules/statistics/src/Tests/StatisticsLoggingTest.php @@ -2,7 +2,7 @@ namespace Drupal\statistics\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests request logging for cached and uncached pages. diff --git a/core/modules/statistics/src/Tests/StatisticsTestBase.php b/core/modules/statistics/src/Tests/StatisticsTestBase.php index b18b0ac..11a07dc 100644 --- a/core/modules/statistics/src/Tests/StatisticsTestBase.php +++ b/core/modules/statistics/src/Tests/StatisticsTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\statistics\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Defines a base class for testing the Statistics module. diff --git a/core/modules/syslog/src/Tests/SyslogTest.php b/core/modules/syslog/src/Tests/SyslogTest.php index a40847c..481c077 100644 --- a/core/modules/syslog/src/Tests/SyslogTest.php +++ b/core/modules/syslog/src/Tests/SyslogTest.php @@ -2,7 +2,7 @@ namespace Drupal\syslog\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests syslog settings. diff --git a/core/modules/system/src/Tests/Ajax/AjaxTestBase.php b/core/modules/system/src/Tests/Ajax/AjaxTestBase.php index e4db3bd..1358da1 100644 --- a/core/modules/system/src/Tests/Ajax/AjaxTestBase.php +++ b/core/modules/system/src/Tests/Ajax/AjaxTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Ajax; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Provides a base class for Ajax tests. diff --git a/core/modules/system/src/Tests/Batch/PageTest.php b/core/modules/system/src/Tests/Batch/PageTest.php index f9948ed..5be24b5 100644 --- a/core/modules/system/src/Tests/Batch/PageTest.php +++ b/core/modules/system/src/Tests/Batch/PageTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Batch; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the content of the progress page. diff --git a/core/modules/system/src/Tests/Batch/ProcessingTest.php b/core/modules/system/src/Tests/Batch/ProcessingTest.php index 66c0fc6..e19f830 100644 --- a/core/modules/system/src/Tests/Batch/ProcessingTest.php +++ b/core/modules/system/src/Tests/Batch/ProcessingTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Batch; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests batch processing in form and non-form workflow. diff --git a/core/modules/system/src/Tests/Bootstrap/DrupalSetMessageTest.php b/core/modules/system/src/Tests/Bootstrap/DrupalSetMessageTest.php index 29ca02f..80e97f9 100644 --- a/core/modules/system/src/Tests/Bootstrap/DrupalSetMessageTest.php +++ b/core/modules/system/src/Tests/Bootstrap/DrupalSetMessageTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Bootstrap; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests drupal_set_message() and related functions. diff --git a/core/modules/system/src/Tests/Cache/CacheTestBase.php b/core/modules/system/src/Tests/Cache/CacheTestBase.php index efca9fd..fbe2e59 100644 --- a/core/modules/system/src/Tests/Cache/CacheTestBase.php +++ b/core/modules/system/src/Tests/Cache/CacheTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Cache; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Provides helper methods for cache tests. diff --git a/core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php b/core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php index 3e7a4ac..3450267 100644 --- a/core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php +++ b/core/modules/system/src/Tests/Cache/PageCacheTagsTestBase.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Cache; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Utility\SafeMarkup; /** diff --git a/core/modules/system/src/Tests/Cache/SessionExistsCacheContextTest.php b/core/modules/system/src/Tests/Cache/SessionExistsCacheContextTest.php index b3c195d..a47a046 100644 --- a/core/modules/system/src/Tests/Cache/SessionExistsCacheContextTest.php +++ b/core/modules/system/src/Tests/Cache/SessionExistsCacheContextTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Cache; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the 'session.exists' cache context service. diff --git a/core/modules/system/src/Tests/Common/AddFeedTest.php b/core/modules/system/src/Tests/Common/AddFeedTest.php index b539281..0c0867d 100644 --- a/core/modules/system/src/Tests/Common/AddFeedTest.php +++ b/core/modules/system/src/Tests/Common/AddFeedTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Common; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Make sure that attaching feeds works correctly with various constructs. diff --git a/core/modules/system/src/Tests/Common/AlterTest.php b/core/modules/system/src/Tests/Common/AlterTest.php index 86bed7d..62dab72 100644 --- a/core/modules/system/src/Tests/Common/AlterTest.php +++ b/core/modules/system/src/Tests/Common/AlterTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Common; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests alteration of arguments passed to \Drupal::moduleHandler->alter(). diff --git a/core/modules/system/src/Tests/Common/EarlyRenderingControllerTest.php b/core/modules/system/src/Tests/Common/EarlyRenderingControllerTest.php index 196d463..9da6e6e 100644 --- a/core/modules/system/src/Tests/Common/EarlyRenderingControllerTest.php +++ b/core/modules/system/src/Tests/Common/EarlyRenderingControllerTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Common; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Verifies that bubbleable metadata of early rendering is not lost. diff --git a/core/modules/system/src/Tests/Common/FormatDateTest.php b/core/modules/system/src/Tests/Common/FormatDateTest.php index 36589ef..6ec98f3 100644 --- a/core/modules/system/src/Tests/Common/FormatDateTest.php +++ b/core/modules/system/src/Tests/Common/FormatDateTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Common; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the format_date() function. diff --git a/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php b/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php index 0e1e298..6f77ee1 100644 --- a/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php +++ b/core/modules/system/src/Tests/Common/NoJavaScriptAnonymousTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Common; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that anonymous users are not served any JavaScript in the Standard diff --git a/core/modules/system/src/Tests/Common/RenderWebTest.php b/core/modules/system/src/Tests/Common/RenderWebTest.php index fde7fa6..f169d90 100644 --- a/core/modules/system/src/Tests/Common/RenderWebTest.php +++ b/core/modules/system/src/Tests/Common/RenderWebTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Serialization\Json; use Drupal\Core\EventSubscriber\MainContentViewSubscriber; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Performs integration tests on drupal_render(). diff --git a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php index 1be7e94..2b323e1 100644 --- a/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php +++ b/core/modules/system/src/Tests/Common/SimpleTestErrorCollectorTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Common; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests SimpleTest error and exception collector. diff --git a/core/modules/system/src/Tests/Common/UrlTest.php b/core/modules/system/src/Tests/Common/UrlTest.php index 062e3e4..587bcc2 100644 --- a/core/modules/system/src/Tests/Common/UrlTest.php +++ b/core/modules/system/src/Tests/Common/UrlTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Language\Language; use Drupal\Core\Render\RenderContext; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Confirm that \Drupal\Core\Url, diff --git a/core/modules/system/src/Tests/Condition/ConditionFormTest.php b/core/modules/system/src/Tests/Condition/ConditionFormTest.php index 21d0fcb..3e14ead 100644 --- a/core/modules/system/src/Tests/Condition/ConditionFormTest.php +++ b/core/modules/system/src/Tests/Condition/ConditionFormTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Condition; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that condition plugins basic form handling is working. diff --git a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php index d484d68..50098b7 100644 --- a/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php +++ b/core/modules/system/src/Tests/Database/DatabaseWebTestBase.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Database; use Drupal\KernelTests\Core\Database\DatabaseTestBase; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Base class for databases database tests. diff --git a/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php b/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php index 219bc34..10d6c24 100644 --- a/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php +++ b/core/modules/system/src/Tests/Datetime/DrupalDateTimeTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Datetime; use Drupal\Core\Datetime\DrupalDateTime; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/system/src/Tests/DrupalKernel/ContainerRebuildWebTest.php b/core/modules/system/src/Tests/DrupalKernel/ContainerRebuildWebTest.php index c87e3ad..267c0d1 100644 --- a/core/modules/system/src/Tests/DrupalKernel/ContainerRebuildWebTest.php +++ b/core/modules/system/src/Tests/DrupalKernel/ContainerRebuildWebTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\DrupalKernel; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Ensures that the container rebuild works as expected. diff --git a/core/modules/system/src/Tests/DrupalKernel/ContentNegotiationTest.php b/core/modules/system/src/Tests/DrupalKernel/ContentNegotiationTest.php index dcd88ec..b49442f 100644 --- a/core/modules/system/src/Tests/DrupalKernel/ContentNegotiationTest.php +++ b/core/modules/system/src/Tests/DrupalKernel/ContentNegotiationTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\DrupalKernel; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests content negotiation. diff --git a/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php b/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php index 0f731be..f9a2ed3 100644 --- a/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php +++ b/core/modules/system/src/Tests/Entity/ConfigEntityImportTest.php @@ -6,7 +6,7 @@ use Drupal\filter\Entity\FilterFormat; use Drupal\image\Entity\ImageStyle; use Drupal\search\Entity\SearchPage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Entity\Action; /** diff --git a/core/modules/system/src/Tests/Entity/EntityAddUITest.php b/core/modules/system/src/Tests/Entity/EntityAddUITest.php index f0b286f..46b5f08 100644 --- a/core/modules/system/src/Tests/Entity/EntityAddUITest.php +++ b/core/modules/system/src/Tests/Entity/EntityAddUITest.php @@ -5,7 +5,7 @@ use Drupal\entity_test\Entity\EntityTestBundle; use Drupal\entity_test\Entity\EntityTestMul; use Drupal\entity_test\Entity\EntityTestWithBundle; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the /add and /add/{type} controllers. diff --git a/core/modules/system/src/Tests/Entity/EntityFormTest.php b/core/modules/system/src/Tests/Entity/EntityFormTest.php index 4e0ced5..d2d94bf 100644 --- a/core/modules/system/src/Tests/Entity/EntityFormTest.php +++ b/core/modules/system/src/Tests/Entity/EntityFormTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Entity; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the entity form. diff --git a/core/modules/system/src/Tests/Entity/EntityListBuilderTest.php b/core/modules/system/src/Tests/Entity/EntityListBuilderTest.php index 2a849b2..3461bda 100644 --- a/core/modules/system/src/Tests/Entity/EntityListBuilderTest.php +++ b/core/modules/system/src/Tests/Entity/EntityListBuilderTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\entity_test\Entity\EntityTest; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests entity list builder functionality. diff --git a/core/modules/system/src/Tests/Entity/EntityOperationsTest.php b/core/modules/system/src/Tests/Entity/EntityOperationsTest.php index 3e4c69f..241ce09 100644 --- a/core/modules/system/src/Tests/Entity/EntityOperationsTest.php +++ b/core/modules/system/src/Tests/Entity/EntityOperationsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Entity; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that operations can be injected from the hook. diff --git a/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php b/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php index 86bc703..2f36117 100644 --- a/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php +++ b/core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\comment\CommentInterface; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; use Drupal\comment\Entity\Comment; diff --git a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php index bee4ec2..79d2202 100644 --- a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php +++ b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Entity; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Create a entity with revisions and test viewing, saving, reverting, and diff --git a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php index d64e019..baa0eb6 100644 --- a/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php +++ b/core/modules/system/src/Tests/Entity/EntityTranslationFormTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\field\Entity\FieldStorageConfig; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests entity translation form. diff --git a/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php b/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php index d9f36ff..841292b 100644 --- a/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php +++ b/core/modules/system/src/Tests/Entity/EntityViewControllerTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Entity; use Drupal\entity_test\Entity\EntityTest; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests EntityViewController functionality. diff --git a/core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php b/core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php index ceab801..070bee9 100644 --- a/core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php +++ b/core/modules/system/src/Tests/Entity/Update/UpdateApiEntityDefinitionUpdateTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Entity\Exception\FieldStorageDefinitionUpdateForbiddenException; use Drupal\entity_test\Entity\EntityTest; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Tests\Update\DbUpdatesTrait; /** diff --git a/core/modules/system/src/Tests/File/ConfigTest.php b/core/modules/system/src/Tests/File/ConfigTest.php index 2313e26..790ad06 100644 --- a/core/modules/system/src/Tests/File/ConfigTest.php +++ b/core/modules/system/src/Tests/File/ConfigTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\File; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests file system configuration operations. diff --git a/core/modules/system/src/Tests/File/FileSaveHtaccessLoggingTest.php b/core/modules/system/src/Tests/File/FileSaveHtaccessLoggingTest.php index 5827e24..1930bb2 100644 --- a/core/modules/system/src/Tests/File/FileSaveHtaccessLoggingTest.php +++ b/core/modules/system/src/Tests/File/FileSaveHtaccessLoggingTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\File; use Drupal\Component\PhpStorage\FileStorage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the log message added by file_save_htacess(). diff --git a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php index e8a6789..d704fd4 100644 --- a/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php +++ b/core/modules/system/src/Tests/FileTransfer/FileTransferTest.php @@ -4,7 +4,7 @@ use Drupal\Core\FileTransfer\FileTransferException; use Drupal\Core\StreamWrapper\PublicStream; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the jail is respected and that protocols using recursive file move diff --git a/core/modules/system/src/Tests/Form/AlterTest.php b/core/modules/system/src/Tests/Form/AlterTest.php index ae30722..71f444f 100644 --- a/core/modules/system/src/Tests/Form/AlterTest.php +++ b/core/modules/system/src/Tests/Form/AlterTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Component\Utility\Xss; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests hook_form_alter() and hook_form_FORM_ID_alter(). diff --git a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php index 3702d35..0a5a85b 100644 --- a/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php +++ b/core/modules/system/src/Tests/Form/ArbitraryRebuildTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/system/src/Tests/Form/CheckboxTest.php b/core/modules/system/src/Tests/Form/CheckboxTest.php index ebeeeea..f8245bb 100644 --- a/core/modules/system/src/Tests/Form/CheckboxTest.php +++ b/core/modules/system/src/Tests/Form/CheckboxTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form API checkbox handling of various combinations of #default_value diff --git a/core/modules/system/src/Tests/Form/ConfirmFormTest.php b/core/modules/system/src/Tests/Form/ConfirmFormTest.php index 312aa2e..a13ed3f 100644 --- a/core/modules/system/src/Tests/Form/ConfirmFormTest.php +++ b/core/modules/system/src/Tests/Form/ConfirmFormTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests confirmation forms. diff --git a/core/modules/system/src/Tests/Form/ElementTest.php b/core/modules/system/src/Tests/Form/ElementTest.php index 684e13a..c2e9f86 100644 --- a/core/modules/system/src/Tests/Form/ElementTest.php +++ b/core/modules/system/src/Tests/Form/ElementTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests building and processing of core form elements. diff --git a/core/modules/system/src/Tests/Form/ElementsAccessTest.php b/core/modules/system/src/Tests/Form/ElementsAccessTest.php index 13386d7..df90695 100644 --- a/core/modules/system/src/Tests/Form/ElementsAccessTest.php +++ b/core/modules/system/src/Tests/Form/ElementsAccessTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests access control for form elements. diff --git a/core/modules/system/src/Tests/Form/ElementsLabelsTest.php b/core/modules/system/src/Tests/Form/ElementsLabelsTest.php index 5965dc25..0cc24e5 100644 --- a/core/modules/system/src/Tests/Form/ElementsLabelsTest.php +++ b/core/modules/system/src/Tests/Form/ElementsLabelsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form element labels, required markers and associated output. diff --git a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php index 34a558c..922d941 100644 --- a/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php +++ b/core/modules/system/src/Tests/Form/ElementsTableSelectTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Core\Form\FormState; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the tableselect form element for expected behavior. diff --git a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php index 3de1867..63dcc09 100644 --- a/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php +++ b/core/modules/system/src/Tests/Form/ElementsVerticalTabsTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Component\Utility\SafeMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Serialization\Json; /** diff --git a/core/modules/system/src/Tests/Form/EmailTest.php b/core/modules/system/src/Tests/Form/EmailTest.php index e53247f..5b600df 100644 --- a/core/modules/system/src/Tests/Form/EmailTest.php +++ b/core/modules/system/src/Tests/Form/EmailTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Component\Serialization\Json; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the form API email element. diff --git a/core/modules/system/src/Tests/Form/FormStoragePageCacheTest.php b/core/modules/system/src/Tests/Form/FormStoragePageCacheTest.php index 0ef62e8..d3942db 100644 --- a/core/modules/system/src/Tests/Form/FormStoragePageCacheTest.php +++ b/core/modules/system/src/Tests/Form/FormStoragePageCacheTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form storage from cached pages. diff --git a/core/modules/system/src/Tests/Form/FormTest.php b/core/modules/system/src/Tests/Form/FormTest.php index cf73836..99e24db 100644 --- a/core/modules/system/src/Tests/Form/FormTest.php +++ b/core/modules/system/src/Tests/Form/FormTest.php @@ -9,7 +9,7 @@ use Drupal\Core\Render\Element; use Drupal\Core\Url; use Drupal\form_test\Form\FormTestDisabledElementsForm; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; use Drupal\filter\Entity\FilterFormat; diff --git a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php index 7b3d73c..cb859e6 100644 --- a/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php +++ b/core/modules/system/src/Tests/Form/LanguageSelectElementTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Serialization\Json; use Drupal\Core\Language\LanguageInterface; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the language select form element prints and submits the right diff --git a/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php b/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php index 921a27d..0577459 100644 --- a/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php +++ b/core/modules/system/src/Tests/Form/ModulesListFormWebTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests \Drupal\system\Form\ModulesListForm. diff --git a/core/modules/system/src/Tests/Form/ProgrammaticTest.php b/core/modules/system/src/Tests/Form/ProgrammaticTest.php index 5fbefb5..07149c3 100644 --- a/core/modules/system/src/Tests/Form/ProgrammaticTest.php +++ b/core/modules/system/src/Tests/Form/ProgrammaticTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Core\Form\FormState; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the programmatic form submission behavior. diff --git a/core/modules/system/src/Tests/Form/RebuildTest.php b/core/modules/system/src/Tests/Form/RebuildTest.php index bee15fe..8fd92e2 100644 --- a/core/modules/system/src/Tests/Form/RebuildTest.php +++ b/core/modules/system/src/Tests/Form/RebuildTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\Core\Url; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/system/src/Tests/Form/RedirectTest.php b/core/modules/system/src/Tests/Form/RedirectTest.php index 6b6d360..41d9f1e 100644 --- a/core/modules/system/src/Tests/Form/RedirectTest.php +++ b/core/modules/system/src/Tests/Form/RedirectTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form redirection functionality. diff --git a/core/modules/system/src/Tests/Form/ResponseTest.php b/core/modules/system/src/Tests/Form/ResponseTest.php index 658b672..1000e36 100644 --- a/core/modules/system/src/Tests/Form/ResponseTest.php +++ b/core/modules/system/src/Tests/Form/ResponseTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Component\Serialization\Json; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the form API Response element. diff --git a/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php b/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php index eb53244..757fe10 100644 --- a/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php +++ b/core/modules/system/src/Tests/Form/StateValuesCleanAdvancedTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests proper removal of submitted form values using diff --git a/core/modules/system/src/Tests/Form/StateValuesCleanTest.php b/core/modules/system/src/Tests/Form/StateValuesCleanTest.php index 7761bd8..a47404d 100644 --- a/core/modules/system/src/Tests/Form/StateValuesCleanTest.php +++ b/core/modules/system/src/Tests/Form/StateValuesCleanTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Serialization\Json; use Drupal\Component\Utility\SafeMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests proper removal of submitted form values using diff --git a/core/modules/system/src/Tests/Form/StorageTest.php b/core/modules/system/src/Tests/Form/StorageTest.php index d29f36b..dd6fed6 100644 --- a/core/modules/system/src/Tests/Form/StorageTest.php +++ b/core/modules/system/src/Tests/Form/StorageTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests a multistep form using form storage and makes sure validation and diff --git a/core/modules/system/src/Tests/Form/SystemConfigFormTest.php b/core/modules/system/src/Tests/Form/SystemConfigFormTest.php index 69a7f7e..985e87b 100644 --- a/core/modules/system/src/Tests/Form/SystemConfigFormTest.php +++ b/core/modules/system/src/Tests/Form/SystemConfigFormTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the SystemConfigFormTestBase class. diff --git a/core/modules/system/src/Tests/Form/TriggeringElementTest.php b/core/modules/system/src/Tests/Form/TriggeringElementTest.php index 5d8a180..d2fb57e 100644 --- a/core/modules/system/src/Tests/Form/TriggeringElementTest.php +++ b/core/modules/system/src/Tests/Form/TriggeringElementTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Form; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that FAPI correctly determines the triggering element. diff --git a/core/modules/system/src/Tests/Form/UrlTest.php b/core/modules/system/src/Tests/Form/UrlTest.php index 4bf6f60..124d490 100644 --- a/core/modules/system/src/Tests/Form/UrlTest.php +++ b/core/modules/system/src/Tests/Form/UrlTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Component\Serialization\Json; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the form API URL element. diff --git a/core/modules/system/src/Tests/Form/ValidationTest.php b/core/modules/system/src/Tests/Form/ValidationTest.php index 35b340b..d3d9a36 100644 --- a/core/modules/system/src/Tests/Form/ValidationTest.php +++ b/core/modules/system/src/Tests/Form/ValidationTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Form; use Drupal\Core\Render\Element; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests form processing and alteration via form validation handlers. diff --git a/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php b/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php index 66989de..f2e7431 100644 --- a/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php +++ b/core/modules/system/src/Tests/Image/ToolkitSetupFormTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Image; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests image toolkit setup form. diff --git a/core/modules/system/src/Tests/Image/ToolkitTestBase.php b/core/modules/system/src/Tests/Image/ToolkitTestBase.php index 53ede0d..707b7d0 100644 --- a/core/modules/system/src/Tests/Image/ToolkitTestBase.php +++ b/core/modules/system/src/Tests/Image/ToolkitTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Image; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Component\Utility\SafeMarkup; /** diff --git a/core/modules/system/src/Tests/Installer/SiteNameTest.php b/core/modules/system/src/Tests/Installer/SiteNameTest.php index ec4c0e1..107431d 100644 --- a/core/modules/system/src/Tests/Installer/SiteNameTest.php +++ b/core/modules/system/src/Tests/Installer/SiteNameTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Installer; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the site name can be set during a non-interactive installation. diff --git a/core/modules/system/src/Tests/Lock/LockFunctionalTest.php b/core/modules/system/src/Tests/Lock/LockFunctionalTest.php index 0355a76..07fb5cb 100644 --- a/core/modules/system/src/Tests/Lock/LockFunctionalTest.php +++ b/core/modules/system/src/Tests/Lock/LockFunctionalTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Lock; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Confirm locking works between two separate requests. diff --git a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php index f396acd..20d4fe7 100644 --- a/core/modules/system/src/Tests/Mail/HtmlToTextTest.php +++ b/core/modules/system/src/Tests/Mail/HtmlToTextTest.php @@ -6,7 +6,7 @@ use Drupal\Component\Utility\Unicode; use Drupal\Core\Mail\MailFormatHelper; use Drupal\Core\Site\Settings; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for \Drupal\Core\Mail\MailFormatHelper::htmlToText(). diff --git a/core/modules/system/src/Tests/Mail/MailTest.php b/core/modules/system/src/Tests/Mail/MailTest.php index 70f5a4b..531b46f 100644 --- a/core/modules/system/src/Tests/Mail/MailTest.php +++ b/core/modules/system/src/Tests/Mail/MailTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Mail; use Drupal\Core\Mail\Plugin\Mail\TestMailCollector; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system_mail_failure_test\Plugin\Mail\TestPhpMailFailure; /** diff --git a/core/modules/system/src/Tests/Menu/LocalActionTest.php b/core/modules/system/src/Tests/Menu/LocalActionTest.php index 40dc744..792f9e4 100644 --- a/core/modules/system/src/Tests/Menu/LocalActionTest.php +++ b/core/modules/system/src/Tests/Menu/LocalActionTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Html; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests local actions derived from router and added/altered via hooks. diff --git a/core/modules/system/src/Tests/Menu/LocalTasksTest.php b/core/modules/system/src/Tests/Menu/LocalTasksTest.php index 522e12b..9cefddc 100644 --- a/core/modules/system/src/Tests/Menu/LocalTasksTest.php +++ b/core/modules/system/src/Tests/Menu/LocalTasksTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Html; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests local tasks derived from router and added/altered via hooks. diff --git a/core/modules/system/src/Tests/Menu/MenuAccessTest.php b/core/modules/system/src/Tests/Menu/MenuAccessTest.php index fff17e5..1aead2e 100644 --- a/core/modules/system/src/Tests/Menu/MenuAccessTest.php +++ b/core/modules/system/src/Tests/Menu/MenuAccessTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Menu; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the route access checks on menu links. diff --git a/core/modules/system/src/Tests/Menu/MenuLinkSecurityTest.php b/core/modules/system/src/Tests/Menu/MenuLinkSecurityTest.php index 94bb14a..9e50bd1 100644 --- a/core/modules/system/src/Tests/Menu/MenuLinkSecurityTest.php +++ b/core/modules/system/src/Tests/Menu/MenuLinkSecurityTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Menu; use Drupal\menu_link_content\Entity\MenuLinkContent; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Ensures that menu links don't cause XSS issues. diff --git a/core/modules/system/src/Tests/Menu/MenuRouterTest.php b/core/modules/system/src/Tests/Menu/MenuRouterTest.php index e7328d9..dcbb547 100644 --- a/core/modules/system/src/Tests/Menu/MenuRouterTest.php +++ b/core/modules/system/src/Tests/Menu/MenuRouterTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Menu; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests menu router and default menu link functionality. diff --git a/core/modules/system/src/Tests/Menu/MenuTestBase.php b/core/modules/system/src/Tests/Menu/MenuTestBase.php index f791eec..7a2c57f 100644 --- a/core/modules/system/src/Tests/Menu/MenuTestBase.php +++ b/core/modules/system/src/Tests/Menu/MenuTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Menu; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; abstract class MenuTestBase extends WebTestBase { diff --git a/core/modules/system/src/Tests/Module/ClassLoaderTest.php b/core/modules/system/src/Tests/Module/ClassLoaderTest.php index 5d1db03..c244e00 100644 --- a/core/modules/system/src/Tests/Module/ClassLoaderTest.php +++ b/core/modules/system/src/Tests/Module/ClassLoaderTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Module; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests class loading for modules. diff --git a/core/modules/system/src/Tests/Module/ExperimentalModuleTest.php b/core/modules/system/src/Tests/Module/ExperimentalModuleTest.php index 83af4ad..734b022 100644 --- a/core/modules/system/src/Tests/Module/ExperimentalModuleTest.php +++ b/core/modules/system/src/Tests/Module/ExperimentalModuleTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Module; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the installation of modules. diff --git a/core/modules/system/src/Tests/Module/InstallTest.php b/core/modules/system/src/Tests/Module/InstallTest.php index babdd76..9e4a77b 100644 --- a/core/modules/system/src/Tests/Module/InstallTest.php +++ b/core/modules/system/src/Tests/Module/InstallTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Module; use Drupal\Core\Extension\ExtensionNameLengthException; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the installation of modules. diff --git a/core/modules/system/src/Tests/Module/ModuleTestBase.php b/core/modules/system/src/Tests/Module/ModuleTestBase.php index e212617..cc30324 100644 --- a/core/modules/system/src/Tests/Module/ModuleTestBase.php +++ b/core/modules/system/src/Tests/Module/ModuleTestBase.php @@ -6,7 +6,7 @@ use Drupal\Core\Database\Database; use Drupal\Core\Config\FileStorage; use Drupal\Core\Logger\RfcLogLevel; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Helper class for module test cases. diff --git a/core/modules/system/src/Tests/Module/PrepareUninstallTest.php b/core/modules/system/src/Tests/Module/PrepareUninstallTest.php index dd89e31..eaab796 100644 --- a/core/modules/system/src/Tests/Module/PrepareUninstallTest.php +++ b/core/modules/system/src/Tests/Module/PrepareUninstallTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Module; use Drupal\Component\Utility\Unicode; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Tests\TaxonomyTestTrait; /** diff --git a/core/modules/system/src/Tests/Module/UninstallTest.php b/core/modules/system/src/Tests/Module/UninstallTest.php index 9cecf8f..a4f8d7a 100644 --- a/core/modules/system/src/Tests/Module/UninstallTest.php +++ b/core/modules/system/src/Tests/Module/UninstallTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Entity\EntityMalformedException; use Drupal\node\Entity\Node; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the uninstallation of modules. diff --git a/core/modules/system/src/Tests/Page/DefaultMetatagsTest.php b/core/modules/system/src/Tests/Page/DefaultMetatagsTest.php index e0228ef..0559abd 100644 --- a/core/modules/system/src/Tests/Page/DefaultMetatagsTest.php +++ b/core/modules/system/src/Tests/Page/DefaultMetatagsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Page; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests default HTML metatags on a page. diff --git a/core/modules/system/src/Tests/Pager/PagerTest.php b/core/modules/system/src/Tests/Pager/PagerTest.php index 4c13c0f..de21679 100644 --- a/core/modules/system/src/Tests/Pager/PagerTest.php +++ b/core/modules/system/src/Tests/Pager/PagerTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Pager; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests pager functionality. diff --git a/core/modules/system/src/Tests/ParamConverter/UpcastingTest.php b/core/modules/system/src/Tests/ParamConverter/UpcastingTest.php index b881386..85425c2 100644 --- a/core/modules/system/src/Tests/ParamConverter/UpcastingTest.php +++ b/core/modules/system/src/Tests/ParamConverter/UpcastingTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\ParamConverter; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\language\Entity\ConfigurableLanguage; /** diff --git a/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php b/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php index 743b74b..6ef0573 100644 --- a/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php +++ b/core/modules/system/src/Tests/Path/UrlAlterFunctionalTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Path; use Drupal\Core\Database\Database; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\taxonomy\Entity\Term; /** diff --git a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php index 08cd276..2160600 100644 --- a/core/modules/system/src/Tests/Render/AjaxPageStateTest.php +++ b/core/modules/system/src/Tests/Render/AjaxPageStateTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Render; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Performs tests for the effects of the ajax_page_state query parameter. diff --git a/core/modules/system/src/Tests/Render/DisplayVariantTest.php b/core/modules/system/src/Tests/Render/DisplayVariantTest.php index 09f54d9..46030a8 100644 --- a/core/modules/system/src/Tests/Render/DisplayVariantTest.php +++ b/core/modules/system/src/Tests/Render/DisplayVariantTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Render; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests selecting a display variant. diff --git a/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php b/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php index 06af7c7..62e5c5a 100644 --- a/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php +++ b/core/modules/system/src/Tests/Render/HtmlResponseAttachmentsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Render; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Functional tests for HtmlResponseAttachmentsProcessor. diff --git a/core/modules/system/src/Tests/Render/UrlBubbleableMetadataBubblingTest.php b/core/modules/system/src/Tests/Render/UrlBubbleableMetadataBubblingTest.php index a55037f..887972a 100644 --- a/core/modules/system/src/Tests/Render/UrlBubbleableMetadataBubblingTest.php +++ b/core/modules/system/src/Tests/Render/UrlBubbleableMetadataBubblingTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Render; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that URL bubbleable metadata is correctly bubbled. diff --git a/core/modules/system/src/Tests/Routing/DestinationTest.php b/core/modules/system/src/Tests/Routing/DestinationTest.php index d959c7a..d107fa3 100644 --- a/core/modules/system/src/Tests/Routing/DestinationTest.php +++ b/core/modules/system/src/Tests/Routing/DestinationTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Routing; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for $_GET['destination'] and $_REQUEST['destination'] validation. diff --git a/core/modules/system/src/Tests/Routing/RouterPermissionTest.php b/core/modules/system/src/Tests/Routing/RouterPermissionTest.php index 2fb0099..97c35d5 100644 --- a/core/modules/system/src/Tests/Routing/RouterPermissionTest.php +++ b/core/modules/system/src/Tests/Routing/RouterPermissionTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Routing; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Function Tests for the routing permission system. diff --git a/core/modules/system/src/Tests/Routing/RouterTest.php b/core/modules/system/src/Tests/Routing/RouterTest.php index 1b33baf..d2a45e1 100644 --- a/core/modules/system/src/Tests/Routing/RouterTest.php +++ b/core/modules/system/src/Tests/Routing/RouterTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Cache\Cache; use Drupal\Core\EventSubscriber\MainContentViewSubscriber; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Symfony\Component\Routing\Exception\RouteNotFoundException; use Drupal\Core\Url; diff --git a/core/modules/system/src/Tests/ServiceProvider/ServiceProviderWebTest.php b/core/modules/system/src/Tests/ServiceProvider/ServiceProviderWebTest.php index 5d2505a..cc3d768 100644 --- a/core/modules/system/src/Tests/ServiceProvider/ServiceProviderWebTest.php +++ b/core/modules/system/src/Tests/ServiceProvider/ServiceProviderWebTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\ServiceProvider; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests service provider registration to the DIC. diff --git a/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php b/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php index ffdc08d..5d86c3a 100644 --- a/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php +++ b/core/modules/system/src/Tests/Session/SessionAuthenticationTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Url; use Drupal\basic_auth\Tests\BasicAuthTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests if sessions are correctly handled when a user authenticates. diff --git a/core/modules/system/src/Tests/Session/SessionHttpsTest.php b/core/modules/system/src/Tests/Session/SessionHttpsTest.php index 8e25fd2..5bac5a9 100644 --- a/core/modules/system/src/Tests/Session/SessionHttpsTest.php +++ b/core/modules/system/src/Tests/Session/SessionHttpsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Session; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Symfony\Component\HttpFoundation\Request; use Drupal\Component\Utility\Crypt; use Drupal\Core\Session\AccountInterface; diff --git a/core/modules/system/src/Tests/Session/SessionTest.php b/core/modules/system/src/Tests/Session/SessionTest.php index 139fba5..ab454f2 100644 --- a/core/modules/system/src/Tests/Session/SessionTest.php +++ b/core/modules/system/src/Tests/Session/SessionTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Session; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Drupal session handling tests. diff --git a/core/modules/system/src/Tests/Session/StackSessionHandlerIntegrationTest.php b/core/modules/system/src/Tests/Session/StackSessionHandlerIntegrationTest.php index af962fa..a2d0472 100644 --- a/core/modules/system/src/Tests/Session/StackSessionHandlerIntegrationTest.php +++ b/core/modules/system/src/Tests/Session/StackSessionHandlerIntegrationTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Session; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the stacked session handler functionality. diff --git a/core/modules/system/src/Tests/System/AccessDeniedTest.php b/core/modules/system/src/Tests/System/AccessDeniedTest.php index 81f9fad..7622eaf 100644 --- a/core/modules/system/src/Tests/System/AccessDeniedTest.php +++ b/core/modules/system/src/Tests/System/AccessDeniedTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Utility\SafeMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/system/src/Tests/System/AdminMetaTagTest.php b/core/modules/system/src/Tests/System/AdminMetaTagTest.php index ea92bd9..161ebf7 100644 --- a/core/modules/system/src/Tests/System/AdminMetaTagTest.php +++ b/core/modules/system/src/Tests/System/AdminMetaTagTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Confirm that the fingerprinting meta tag appears as expected. diff --git a/core/modules/system/src/Tests/System/AdminTest.php b/core/modules/system/src/Tests/System/AdminTest.php index 8921ad0..e1314c1 100644 --- a/core/modules/system/src/Tests/System/AdminTest.php +++ b/core/modules/system/src/Tests/System/AdminTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Core\Menu\MenuTreeParameters; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests output on administrative pages and compact mode functionality. diff --git a/core/modules/system/src/Tests/System/CronRunTest.php b/core/modules/system/src/Tests/System/CronRunTest.php index ec35b72..95a3fc4 100644 --- a/core/modules/system/src/Tests/System/CronRunTest.php +++ b/core/modules/system/src/Tests/System/CronRunTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests cron runs. diff --git a/core/modules/system/src/Tests/System/DateFormatsLockedTest.php b/core/modules/system/src/Tests/System/DateFormatsLockedTest.php index c8a0a67..29eb259 100644 --- a/core/modules/system/src/Tests/System/DateFormatsLockedTest.php +++ b/core/modules/system/src/Tests/System/DateFormatsLockedTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the locked functionality of date formats. diff --git a/core/modules/system/src/Tests/System/DateFormatsMachineNameTest.php b/core/modules/system/src/Tests/System/DateFormatsMachineNameTest.php index a7c304a..29fffe6 100644 --- a/core/modules/system/src/Tests/System/DateFormatsMachineNameTest.php +++ b/core/modules/system/src/Tests/System/DateFormatsMachineNameTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Utility\Unicode; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests validity of date format machine names. diff --git a/core/modules/system/src/Tests/System/DateTimeTest.php b/core/modules/system/src/Tests/System/DateTimeTest.php index 9ca050f..dfe4378 100644 --- a/core/modules/system/src/Tests/System/DateTimeTest.php +++ b/core/modules/system/src/Tests/System/DateTimeTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Datetime\Entity\DateFormat; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Configure date and time settings. Test date formatting and time zone diff --git a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php index 98d82d3..c5b6dc6 100644 --- a/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php +++ b/core/modules/system/src/Tests/System/DefaultMobileMetaTagsTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Utility\SafeMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Confirm that the default mobile meta tags appear as expected. diff --git a/core/modules/system/src/Tests/System/ErrorHandlerTest.php b/core/modules/system/src/Tests/System/ErrorHandlerTest.php index 113d495..bbdf8ef 100644 --- a/core/modules/system/src/Tests/System/ErrorHandlerTest.php +++ b/core/modules/system/src/Tests/System/ErrorHandlerTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Render\FormattableMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Performs tests on the Drupal error and exception handler. diff --git a/core/modules/system/src/Tests/System/FloodTest.php b/core/modules/system/src/Tests/System/FloodTest.php index a3a3368..f280e39 100644 --- a/core/modules/system/src/Tests/System/FloodTest.php +++ b/core/modules/system/src/Tests/System/FloodTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Flood\DatabaseBackend; use Drupal\Core\Flood\MemoryBackend; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Symfony\Component\HttpFoundation\Request; /** diff --git a/core/modules/system/src/Tests/System/FrontPageTest.php b/core/modules/system/src/Tests/System/FrontPageTest.php index 03666fd..42b537d 100644 --- a/core/modules/system/src/Tests/System/FrontPageTest.php +++ b/core/modules/system/src/Tests/System/FrontPageTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Utility\SafeMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests front page functionality and administration. diff --git a/core/modules/system/src/Tests/System/HtaccessTest.php b/core/modules/system/src/Tests/System/HtaccessTest.php index ad6e09e..b3f3a72 100644 --- a/core/modules/system/src/Tests/System/HtaccessTest.php +++ b/core/modules/system/src/Tests/System/HtaccessTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests .htaccess is working correctly. diff --git a/core/modules/system/src/Tests/System/IndexPhpTest.php b/core/modules/system/src/Tests/System/IndexPhpTest.php index 72811a8..74b5987 100644 --- a/core/modules/system/src/Tests/System/IndexPhpTest.php +++ b/core/modules/system/src/Tests/System/IndexPhpTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the handling of requests containing 'index.php'. diff --git a/core/modules/system/src/Tests/System/MainContentFallbackTest.php b/core/modules/system/src/Tests/System/MainContentFallbackTest.php index 551e4c7..49fbc84 100644 --- a/core/modules/system/src/Tests/System/MainContentFallbackTest.php +++ b/core/modules/system/src/Tests/System/MainContentFallbackTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Test SimplePageVariant main content rendering fallback page display variant. diff --git a/core/modules/system/src/Tests/System/PageNotFoundTest.php b/core/modules/system/src/Tests/System/PageNotFoundTest.php index f289f0e..fd36697 100644 --- a/core/modules/system/src/Tests/System/PageNotFoundTest.php +++ b/core/modules/system/src/Tests/System/PageNotFoundTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Component\Utility\SafeMarkup; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/system/src/Tests/System/PageTitleTest.php b/core/modules/system/src/Tests/System/PageTitleTest.php index 848eacc..7844f94 100644 --- a/core/modules/system/src/Tests/System/PageTitleTest.php +++ b/core/modules/system/src/Tests/System/PageTitleTest.php @@ -4,7 +4,7 @@ use Drupal\Component\Utility\Html; use Drupal\Component\Utility\Xss; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests HTML output escaping of page title, site name, and slogan. diff --git a/core/modules/system/src/Tests/System/RetrieveFileTest.php b/core/modules/system/src/Tests/System/RetrieveFileTest.php index 8f6fe4a..3bd9fdb 100644 --- a/core/modules/system/src/Tests/System/RetrieveFileTest.php +++ b/core/modules/system/src/Tests/System/RetrieveFileTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests HTTP file fetching and error handling. diff --git a/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php b/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php index 99839ab..2810773 100644 --- a/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php +++ b/core/modules/system/src/Tests/System/ShutdownFunctionsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Functional tests shutdown functions. diff --git a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php index 49aff66..531a6e2 100644 --- a/core/modules/system/src/Tests/System/SiteMaintenanceTest.php +++ b/core/modules/system/src/Tests/System/SiteMaintenanceTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests access to site while in maintenance mode. diff --git a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php index f9331ba..e3ed199 100644 --- a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php +++ b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Render\FormattableMarkup; use Drupal\Core\Site\Settings; use Drupal\Core\StringTranslation\StringTranslationTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Drupal permissions hardening of /sites subdirectories. diff --git a/core/modules/system/src/Tests/System/StatusTest.php b/core/modules/system/src/Tests/System/StatusTest.php index c170316..a662b1a 100644 --- a/core/modules/system/src/Tests/System/StatusTest.php +++ b/core/modules/system/src/Tests/System/StatusTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\SystemRequirements; /** diff --git a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php index 5e278d7..19c15a4 100644 --- a/core/modules/system/src/Tests/System/SystemAuthorizeTest.php +++ b/core/modules/system/src/Tests/System/SystemAuthorizeTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the authorize.php script and related API. diff --git a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php index 08f741d..7d8084b 100644 --- a/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php +++ b/core/modules/system/src/Tests/System/SystemConfigFormTestBase.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Core\Form\FormState; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Full generic test suite for any form that data with the configuration system. diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php index e01f28a..49dfc82 100644 --- a/core/modules/system/src/Tests/System/ThemeTest.php +++ b/core/modules/system/src/Tests/System/ThemeTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Core\StreamWrapper\PublicStream; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the theme interface functionality by enabling and switching themes, and diff --git a/core/modules/system/src/Tests/System/TokenReplaceWebTest.php b/core/modules/system/src/Tests/System/TokenReplaceWebTest.php index 21fe23a..f9c4ef9 100644 --- a/core/modules/system/src/Tests/System/TokenReplaceWebTest.php +++ b/core/modules/system/src/Tests/System/TokenReplaceWebTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; use Drupal\Core\EventSubscriber\MainContentViewSubscriber; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait; /** diff --git a/core/modules/system/src/Tests/System/TokenScanTest.php b/core/modules/system/src/Tests/System/TokenScanTest.php index 89f2abd..98d1c33 100644 --- a/core/modules/system/src/Tests/System/TokenScanTest.php +++ b/core/modules/system/src/Tests/System/TokenScanTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Scan token-like patterns in a dummy text to check token scanning. diff --git a/core/modules/system/src/Tests/System/TrustedHostsTest.php b/core/modules/system/src/Tests/System/TrustedHostsTest.php index a9c976a..b317e71 100644 --- a/core/modules/system/src/Tests/System/TrustedHostsTest.php +++ b/core/modules/system/src/Tests/System/TrustedHostsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests output on the status overview page. diff --git a/core/modules/system/src/Tests/System/UncaughtExceptionTest.php b/core/modules/system/src/Tests/System/UncaughtExceptionTest.php index 0cc6862..e88684d 100644 --- a/core/modules/system/src/Tests/System/UncaughtExceptionTest.php +++ b/core/modules/system/src/Tests/System/UncaughtExceptionTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\System; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests kernel panic when things are really messed up. diff --git a/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php b/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php index 0eb43b7..65d128f 100644 --- a/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php +++ b/core/modules/system/src/Tests/Theme/EngineNyanCatTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the multi theme engine support. diff --git a/core/modules/system/src/Tests/Theme/EngineTwigTest.php b/core/modules/system/src/Tests/Theme/EngineTwigTest.php index a6b7acf..9b2ba0e 100644 --- a/core/modules/system/src/Tests/Theme/EngineTwigTest.php +++ b/core/modules/system/src/Tests/Theme/EngineTwigTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Theme; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Twig-specific theme functionality. diff --git a/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php b/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php index cc4af2a..a010cb6 100644 --- a/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php +++ b/core/modules/system/src/Tests/Theme/EntityFilteringThemeTest.php @@ -6,7 +6,7 @@ use Drupal\Core\Extension\ExtensionDiscovery; use Drupal\comment\CommentInterface; use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\comment\Entity\Comment; use Drupal\taxonomy\Entity\Term; diff --git a/core/modules/system/src/Tests/Theme/FastTest.php b/core/modules/system/src/Tests/Theme/FastTest.php index a05666f..883e017 100644 --- a/core/modules/system/src/Tests/Theme/FastTest.php +++ b/core/modules/system/src/Tests/Theme/FastTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests autocompletion not loading registry. diff --git a/core/modules/system/src/Tests/Theme/FunctionsTest.php b/core/modules/system/src/Tests/Theme/FunctionsTest.php index fa5a2ac..dec1124 100644 --- a/core/modules/system/src/Tests/Theme/FunctionsTest.php +++ b/core/modules/system/src/Tests/Theme/FunctionsTest.php @@ -7,7 +7,7 @@ use Drupal\Component\Utility\SafeMarkup; use Drupal\Core\Session\UserSession; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for common theme functions. diff --git a/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php b/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php index f103caa..04a9fbe 100644 --- a/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php +++ b/core/modules/system/src/Tests/Theme/HtmlAttributesTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests attributes inserted in the 'html' and 'body' elements on the page. diff --git a/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php b/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php index ddbb770..de506ca 100644 --- a/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeEarlyInitializationTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the theme system can be correctly initialized early in the page diff --git a/core/modules/system/src/Tests/Theme/ThemeInfoTest.php b/core/modules/system/src/Tests/Theme/ThemeInfoTest.php index 043986a..757cf92 100644 --- a/core/modules/system/src/Tests/Theme/ThemeInfoTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeInfoTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests processing of theme .info.yml properties. diff --git a/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php b/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php index 75e52c9..3ecb8e7 100644 --- a/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeSuggestionsAlterTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Theme; use Drupal\Component\Utility\Xss; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests theme suggestion alter hooks. diff --git a/core/modules/system/src/Tests/Theme/ThemeTest.php b/core/modules/system/src/Tests/Theme/ThemeTest.php index 4eae7ae..d3450dc 100644 --- a/core/modules/system/src/Tests/Theme/ThemeTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Theme; use Drupal\Component\Serialization\Json; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\test_theme\ThemeClass; use Symfony\Cmf\Component\Routing\RouteObjectInterface; use Symfony\Component\HttpFoundation\Request; diff --git a/core/modules/system/src/Tests/Theme/ThemeTokenTest.php b/core/modules/system/src/Tests/Theme/ThemeTokenTest.php index c3b1f8c..f8965af 100644 --- a/core/modules/system/src/Tests/Theme/ThemeTokenTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeTokenTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the generation of 'theme_token' key in Drupal settings. diff --git a/core/modules/system/src/Tests/Theme/TwigDebugMarkupTest.php b/core/modules/system/src/Tests/Theme/TwigDebugMarkupTest.php index 1783be6..ee71c1e 100644 --- a/core/modules/system/src/Tests/Theme/TwigDebugMarkupTest.php +++ b/core/modules/system/src/Tests/Theme/TwigDebugMarkupTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for Twig debug markup. diff --git a/core/modules/system/src/Tests/Theme/TwigExtensionTest.php b/core/modules/system/src/Tests/Theme/TwigExtensionTest.php index 4be1f73..6354b05 100644 --- a/core/modules/system/src/Tests/Theme/TwigExtensionTest.php +++ b/core/modules/system/src/Tests/Theme/TwigExtensionTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Twig extensions. diff --git a/core/modules/system/src/Tests/Theme/TwigFilterTest.php b/core/modules/system/src/Tests/Theme/TwigFilterTest.php index 810ed53..be0fe86 100644 --- a/core/modules/system/src/Tests/Theme/TwigFilterTest.php +++ b/core/modules/system/src/Tests/Theme/TwigFilterTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Drupal's Twig filters. diff --git a/core/modules/system/src/Tests/Theme/TwigLoaderTest.php b/core/modules/system/src/Tests/Theme/TwigLoaderTest.php index 84a112c..71aba7a 100644 --- a/core/modules/system/src/Tests/Theme/TwigLoaderTest.php +++ b/core/modules/system/src/Tests/Theme/TwigLoaderTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests adding Twig loaders. diff --git a/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php b/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php index 27a54d1..c4ee50d 100644 --- a/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php +++ b/core/modules/system/src/Tests/Theme/TwigNamespaceTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Twig namespaces. diff --git a/core/modules/system/src/Tests/Theme/TwigRawTest.php b/core/modules/system/src/Tests/Theme/TwigRawTest.php index 80afb8e..8e23395 100644 --- a/core/modules/system/src/Tests/Theme/TwigRawTest.php +++ b/core/modules/system/src/Tests/Theme/TwigRawTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Twig 'raw' filter. diff --git a/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php b/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php index 5cbca9f..b3d127b 100644 --- a/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php +++ b/core/modules/system/src/Tests/Theme/TwigRegistryLoaderTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Twig registry loader. diff --git a/core/modules/system/src/Tests/Theme/TwigSettingsTest.php b/core/modules/system/src/Tests/Theme/TwigSettingsTest.php index b776639..366cf42 100644 --- a/core/modules/system/src/Tests/Theme/TwigSettingsTest.php +++ b/core/modules/system/src/Tests/Theme/TwigSettingsTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Theme; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\Core\PhpStorage\PhpStorageFactory; /** diff --git a/core/modules/system/src/Tests/Theme/TwigTransTest.php b/core/modules/system/src/Tests/Theme/TwigTransTest.php index 6473d6e..ef330db 100644 --- a/core/modules/system/src/Tests/Theme/TwigTransTest.php +++ b/core/modules/system/src/Tests/Theme/TwigTransTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Theme; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Twig "trans" tags. diff --git a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php index a9723c2..aa12579 100644 --- a/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php +++ b/core/modules/system/src/Tests/Update/DependencyHookInvocationTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Update; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the hook invocation for determining update dependencies works diff --git a/core/modules/system/src/Tests/Update/DependencyMissingTest.php b/core/modules/system/src/Tests/Update/DependencyMissingTest.php index 9764b4c..6196705 100644 --- a/core/modules/system/src/Tests/Update/DependencyMissingTest.php +++ b/core/modules/system/src/Tests/Update/DependencyMissingTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Update; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that missing update dependencies are correctly flagged. diff --git a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php index bb3ae37..7e299fc 100644 --- a/core/modules/system/src/Tests/Update/DependencyOrderingTest.php +++ b/core/modules/system/src/Tests/Update/DependencyOrderingTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Update; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that update functions are run in the proper order. diff --git a/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php b/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php index ce5a006..6bc25a2 100644 --- a/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php +++ b/core/modules/system/src/Tests/Update/InvalidUpdateHookTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Update; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that a module implementing hook_update_8000() causes an error to be diff --git a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php index 82169ad..ebdb900 100644 --- a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php +++ b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php @@ -8,7 +8,7 @@ use Drupal\Core\DependencyInjection\ContainerBuilder; use Drupal\Core\Language\Language; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; use Symfony\Component\DependencyInjection\Reference; use Symfony\Component\HttpFoundation\Request; diff --git a/core/modules/system/src/Tests/Update/UpdateSchemaTest.php b/core/modules/system/src/Tests/Update/UpdateSchemaTest.php index 0e42c9d..1de3dae 100644 --- a/core/modules/system/src/Tests/Update/UpdateSchemaTest.php +++ b/core/modules/system/src/Tests/Update/UpdateSchemaTest.php @@ -3,7 +3,7 @@ namespace Drupal\system\Tests\Update; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that update hooks are properly run. diff --git a/core/modules/system/src/Tests/Update/UpdateScriptTest.php b/core/modules/system/src/Tests/Update/UpdateScriptTest.php index d788636..df8b40d 100644 --- a/core/modules/system/src/Tests/Update/UpdateScriptTest.php +++ b/core/modules/system/src/Tests/Update/UpdateScriptTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Url; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the update script access and functionality. diff --git a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php index 9782d91..fab4167 100644 --- a/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php +++ b/core/modules/system/src/Tests/Update/UpdatesWith7xTest.php @@ -2,7 +2,7 @@ namespace Drupal\system\Tests\Update; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the minimum schema version is correct even if only 7.x update diff --git a/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php b/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php index aa91237..2ca8c80 100644 --- a/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php +++ b/core/modules/taxonomy/src/Tests/TaxonomyTestBase.php @@ -3,7 +3,7 @@ namespace Drupal\taxonomy\Tests; use Drupal\field\Tests\EntityReference\EntityReferenceTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Provides common helper methods for Taxonomy module tests. diff --git a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php index 56b9d69..2fd9c1e 100644 --- a/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php @@ -5,7 +5,7 @@ use Drupal\Core\Language\LanguageInterface; use Drupal\Core\Url; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php b/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php index 6995d59..6c62ddf 100644 --- a/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarCacheContextsTest.php @@ -4,7 +4,7 @@ use Drupal\Core\Cache\Cache; use Drupal\Core\EventSubscriber\MainContentViewSubscriber; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait; diff --git a/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php b/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php index 7cff043..e473513 100644 --- a/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarHookToolbarTest.php @@ -2,7 +2,7 @@ namespace Drupal\toolbar\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the implementation of hook_toolbar() by a module. diff --git a/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php b/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php index 8fa2bed5..7c5f456 100644 --- a/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php +++ b/core/modules/toolbar/src/Tests/ToolbarMenuTranslationTest.php @@ -2,7 +2,7 @@ namespace Drupal\toolbar\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that the toolbar icon class remains for translated menu items. diff --git a/core/modules/tour/src/Tests/TourHelpPageTest.php b/core/modules/tour/src/Tests/TourHelpPageTest.php index 8a41eb9..7282a4d 100644 --- a/core/modules/tour/src/Tests/TourHelpPageTest.php +++ b/core/modules/tour/src/Tests/TourHelpPageTest.php @@ -2,7 +2,7 @@ namespace Drupal\tour\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Verifies help page display of tours. diff --git a/core/modules/tour/src/Tests/TourTestBase.php b/core/modules/tour/src/Tests/TourTestBase.php index 8383c99..f29aa39 100644 --- a/core/modules/tour/src/Tests/TourTestBase.php +++ b/core/modules/tour/src/Tests/TourTestBase.php @@ -2,7 +2,7 @@ namespace Drupal\tour\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Base class for testing Tour functionality. diff --git a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php index 29492bc..2e69c81 100644 --- a/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php +++ b/core/modules/tracker/src/Tests/TrackerNodeAccessTest.php @@ -5,7 +5,7 @@ use Drupal\comment\Plugin\Field\FieldType\CommentItemInterface; use Drupal\comment\Tests\CommentTestTrait; use Drupal\node\Entity\NodeType; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests for private node access on /tracker. diff --git a/core/modules/tracker/src/Tests/TrackerTest.php b/core/modules/tracker/src/Tests/TrackerTest.php index a927e89..9622dd0 100644 --- a/core/modules/tracker/src/Tests/TrackerTest.php +++ b/core/modules/tracker/src/Tests/TrackerTest.php @@ -9,7 +9,7 @@ use Drupal\Core\Session\AccountInterface; use Drupal\field\Entity\FieldStorageConfig; use Drupal\node\Entity\Node; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\system\Tests\Cache\AssertPageCacheContextsAndTagsTrait; /** diff --git a/core/modules/update/src/Tests/UpdateTestBase.php b/core/modules/update/src/Tests/UpdateTestBase.php index 9cb3c20..07a49f0 100644 --- a/core/modules/update/src/Tests/UpdateTestBase.php +++ b/core/modules/update/src/Tests/UpdateTestBase.php @@ -4,7 +4,7 @@ use Drupal\Core\DrupalKernel; use Drupal\Core\Url; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Defines some shared functions used by all update tests. diff --git a/core/modules/user/src/Tests/UserAccountLinksTest.php b/core/modules/user/src/Tests/UserAccountLinksTest.php index 6d7d723..8c5d04d 100644 --- a/core/modules/user/src/Tests/UserAccountLinksTest.php +++ b/core/modules/user/src/Tests/UserAccountLinksTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests user-account links. diff --git a/core/modules/user/src/Tests/UserAdminLanguageTest.php b/core/modules/user/src/Tests/UserAdminLanguageTest.php index 03baa04..84a1498 100644 --- a/core/modules/user/src/Tests/UserAdminLanguageTest.php +++ b/core/modules/user/src/Tests/UserAdminLanguageTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests users' ability to change their own administration language. diff --git a/core/modules/user/src/Tests/UserAdminListingTest.php b/core/modules/user/src/Tests/UserAdminListingTest.php index 2ca50c8..4765e91 100644 --- a/core/modules/user/src/Tests/UserAdminListingTest.php +++ b/core/modules/user/src/Tests/UserAdminListingTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/user/src/Tests/UserAdminTest.php b/core/modules/user/src/Tests/UserAdminTest.php index 8d4a22b..12848fc 100644 --- a/core/modules/user/src/Tests/UserAdminTest.php +++ b/core/modules/user/src/Tests/UserAdminTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; /** diff --git a/core/modules/user/src/Tests/UserBlocksTest.php b/core/modules/user/src/Tests/UserBlocksTest.php index 40e63d8..a6d6132 100644 --- a/core/modules/user/src/Tests/UserBlocksTest.php +++ b/core/modules/user/src/Tests/UserBlocksTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests user blocks. diff --git a/core/modules/user/src/Tests/UserCancelTest.php b/core/modules/user/src/Tests/UserCancelTest.php index 4ce4d91..66436c6 100644 --- a/core/modules/user/src/Tests/UserCancelTest.php +++ b/core/modules/user/src/Tests/UserCancelTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\comment\Tests\CommentTestTrait; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\comment\CommentInterface; use Drupal\comment\Entity\Comment; use Drupal\user\Entity\User; diff --git a/core/modules/user/src/Tests/UserCreateFailMailTest.php b/core/modules/user/src/Tests/UserCreateFailMailTest.php index a51229a..238c482 100644 --- a/core/modules/user/src/Tests/UserCreateFailMailTest.php +++ b/core/modules/user/src/Tests/UserCreateFailMailTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the create user administration page. diff --git a/core/modules/user/src/Tests/UserCreateTest.php b/core/modules/user/src/Tests/UserCreateTest.php index efc7ddf..33e147e 100644 --- a/core/modules/user/src/Tests/UserCreateTest.php +++ b/core/modules/user/src/Tests/UserCreateTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\field\Entity\FieldConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\field\Entity\FieldStorageConfig; /** diff --git a/core/modules/user/src/Tests/UserDeleteTest.php b/core/modules/user/src/Tests/UserDeleteTest.php index dbb3002..ac3ab73 100644 --- a/core/modules/user/src/Tests/UserDeleteTest.php +++ b/core/modules/user/src/Tests/UserDeleteTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/user/src/Tests/UserEditTest.php b/core/modules/user/src/Tests/UserEditTest.php index 225b194..0a6c9dd 100644 --- a/core/modules/user/src/Tests/UserEditTest.php +++ b/core/modules/user/src/Tests/UserEditTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests user edit page. diff --git a/core/modules/user/src/Tests/UserEditedOwnAccountTest.php b/core/modules/user/src/Tests/UserEditedOwnAccountTest.php index 6c058bf..981b80f 100644 --- a/core/modules/user/src/Tests/UserEditedOwnAccountTest.php +++ b/core/modules/user/src/Tests/UserEditedOwnAccountTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests user edited own account can still log in. diff --git a/core/modules/user/src/Tests/UserEntityCallbacksTest.php b/core/modules/user/src/Tests/UserEntityCallbacksTest.php index 944b352..1b37ed8 100644 --- a/core/modules/user/src/Tests/UserEntityCallbacksTest.php +++ b/core/modules/user/src/Tests/UserEntityCallbacksTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/user/src/Tests/UserLanguageCreationTest.php b/core/modules/user/src/Tests/UserLanguageCreationTest.php index 08ca707..d0d466f 100644 --- a/core/modules/user/src/Tests/UserLanguageCreationTest.php +++ b/core/modules/user/src/Tests/UserLanguageCreationTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests whether proper language is stored for new users and access to language diff --git a/core/modules/user/src/Tests/UserLanguageTest.php b/core/modules/user/src/Tests/UserLanguageTest.php index 5c5f73f..076510a 100644 --- a/core/modules/user/src/Tests/UserLanguageTest.php +++ b/core/modules/user/src/Tests/UserLanguageTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\Core\Language\LanguageInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Functional tests for a user's ability to change their default language. diff --git a/core/modules/user/src/Tests/UserLoginTest.php b/core/modules/user/src/Tests/UserLoginTest.php index af00c74..e1fe8b8 100644 --- a/core/modules/user/src/Tests/UserLoginTest.php +++ b/core/modules/user/src/Tests/UserLoginTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/user/src/Tests/UserPermissionsTest.php b/core/modules/user/src/Tests/UserPermissionsTest.php index 5e3ecd5..dedabf1 100644 --- a/core/modules/user/src/Tests/UserPermissionsTest.php +++ b/core/modules/user/src/Tests/UserPermissionsTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\RoleInterface; use Drupal\user\Entity\Role; diff --git a/core/modules/user/src/Tests/UserPictureTest.php b/core/modules/user/src/Tests/UserPictureTest.php index 3f8db42..c85ba97 100644 --- a/core/modules/user/src/Tests/UserPictureTest.php +++ b/core/modules/user/src/Tests/UserPictureTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\image\Entity\ImageStyle; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\file\Entity\File; /** diff --git a/core/modules/user/src/Tests/UserRegistrationTest.php b/core/modules/user/src/Tests/UserRegistrationTest.php index 0831362..e2adb4e 100644 --- a/core/modules/user/src/Tests/UserRegistrationTest.php +++ b/core/modules/user/src/Tests/UserRegistrationTest.php @@ -7,7 +7,7 @@ use Drupal\Core\Field\FieldStorageDefinitionInterface; use Drupal\field\Entity\FieldConfig; use Drupal\field\Entity\FieldStorageConfig; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests registration of user under different configurations. diff --git a/core/modules/user/src/Tests/UserRoleAdminTest.php b/core/modules/user/src/Tests/UserRoleAdminTest.php index 182da93..1e5206d 100644 --- a/core/modules/user/src/Tests/UserRoleAdminTest.php +++ b/core/modules/user/src/Tests/UserRoleAdminTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\Role; use Drupal\user\RoleInterface; diff --git a/core/modules/user/src/Tests/UserRolesAssignmentTest.php b/core/modules/user/src/Tests/UserRolesAssignmentTest.php index 485bd2f..6334e0a 100644 --- a/core/modules/user/src/Tests/UserRolesAssignmentTest.php +++ b/core/modules/user/src/Tests/UserRolesAssignmentTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests that users can be assigned and unassigned roles. diff --git a/core/modules/user/src/Tests/UserSaveTest.php b/core/modules/user/src/Tests/UserSaveTest.php index 6a454ee..1330e7a 100644 --- a/core/modules/user/src/Tests/UserSaveTest.php +++ b/core/modules/user/src/Tests/UserSaveTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/user/src/Tests/UserSearchTest.php b/core/modules/user/src/Tests/UserSearchTest.php index d154030..2f230b5 100644 --- a/core/modules/user/src/Tests/UserSearchTest.php +++ b/core/modules/user/src/Tests/UserSearchTest.php @@ -2,7 +2,7 @@ namespace Drupal\user\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the user search page and verifies that sensitive information is hidden diff --git a/core/modules/user/src/Tests/UserTimeZoneTest.php b/core/modules/user/src/Tests/UserTimeZoneTest.php index 3229d31..d06c8d7 100644 --- a/core/modules/user/src/Tests/UserTimeZoneTest.php +++ b/core/modules/user/src/Tests/UserTimeZoneTest.php @@ -3,7 +3,7 @@ namespace Drupal\user\Tests; use Drupal\Core\Datetime\Entity\DateFormat; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Set a user time zone and verify that dates are displayed in local time. diff --git a/core/modules/user/src/Tests/UserTokenReplaceTest.php b/core/modules/user/src/Tests/UserTokenReplaceTest.php index b8cfde0..4067cbb 100644 --- a/core/modules/user/src/Tests/UserTokenReplaceTest.php +++ b/core/modules/user/src/Tests/UserTokenReplaceTest.php @@ -5,7 +5,7 @@ use Drupal\Component\Render\FormattableMarkup; use Drupal\Core\Render\BubbleableMetadata; use Drupal\language\Entity\ConfigurableLanguage; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\user\Entity\User; /** diff --git a/core/modules/views/src/Tests/Entity/ViewNonTranslatableEntityTest.php b/core/modules/views/src/Tests/Entity/ViewNonTranslatableEntityTest.php index df6f7d4..5d23bd5 100644 --- a/core/modules/views/src/Tests/Entity/ViewNonTranslatableEntityTest.php +++ b/core/modules/views/src/Tests/Entity/ViewNonTranslatableEntityTest.php @@ -4,7 +4,7 @@ use Drupal\language\Entity\ConfigurableLanguage; use Drupal\language_test\Entity\NoLanguageEntityTest; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests the view creation of non-translatable entities. diff --git a/core/modules/views/src/Tests/Plugin/ViewsFormTest.php b/core/modules/views/src/Tests/Plugin/ViewsFormTest.php index 01f7a8c..fd2b6db 100644 --- a/core/modules/views/src/Tests/Plugin/ViewsFormTest.php +++ b/core/modules/views/src/Tests/Plugin/ViewsFormTest.php @@ -2,7 +2,7 @@ namespace Drupal\views\Tests\Plugin; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests Views forms functionality. diff --git a/core/modules/views/src/Tests/ViewTestBase.php b/core/modules/views/src/Tests/ViewTestBase.php index 6ce3494..1fcd740 100644 --- a/core/modules/views/src/Tests/ViewTestBase.php +++ b/core/modules/views/src/Tests/ViewTestBase.php @@ -3,7 +3,7 @@ namespace Drupal\views\Tests; use Drupal\Core\Database\Query\SelectInterface; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; use Drupal\views\ViewExecutable; /** diff --git a/core/modules/views_ui/src/Tests/NewViewConfigSchemaTest.php b/core/modules/views_ui/src/Tests/NewViewConfigSchemaTest.php index a01e24b..5b8784f 100644 --- a/core/modules/views_ui/src/Tests/NewViewConfigSchemaTest.php +++ b/core/modules/views_ui/src/Tests/NewViewConfigSchemaTest.php @@ -2,7 +2,7 @@ namespace Drupal\views_ui\Tests; -use Drupal\simpletest\WebTestBase; +use Drupal\Tests\BrowserTestBase as WebTestBase; /** * Tests configuration schema against new views. diff --git a/core/modules/views_ui/src/Tests/ReportTest.php b/core/modules/views_ui/src/Tests/ReportTest.php index d7228f1..57ba7f6 100644 --- a/core/modules/views_ui/src/Tests/ReportTest.php +++ b/core/modules/views_ui/src/Tests/ReportTest.php @@ -1,7 +1,7 @@