summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-12-05 14:42:56 (GMT)
committerAlex Pott2014-12-05 14:42:56 (GMT)
commit0bb57ed2f512a1e9da91aae53c1b20f684046651 (patch)
tree29ad3828daf8cfb62d5dd7d5a6f8f27fc5d4a6eb
parent3ec63481f793e559fc1246f453a03a71bc1aafdc (diff)
Issue #2347999 by Mile23, daffie, cs_shadow, cosmicdreams: DrupalUnitTestBase is deprecated, replace with KernelTestBase
-rw-r--r--core/modules/block/src/Tests/BlockInterfaceTest.php4
-rw-r--r--core/modules/block/src/Tests/BlockStorageUnitTest.php4
-rw-r--r--core/modules/block/src/Tests/BlockViewBuilderTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigCRUDTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigDependencyTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigDiffTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigEntityStatusTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigEntityStorageTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigEntityUnitTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigEventsTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigFileContentTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigImportRecreateTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigImportRenameValidationTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigImporterTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigInstallTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigLanguageOverrideTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigModuleOverridesTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigOverrideTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigOverridesPriorityTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigSchemaTest.php4
-rw-r--r--core/modules/config/src/Tests/ConfigSnapshotTest.php4
-rw-r--r--core/modules/config/src/Tests/Storage/ConfigStorageTestBase.php4
-rw-r--r--core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php4
-rw-r--r--core/modules/file/src/Tests/FileManagedUnitTestBase.php4
-rw-r--r--core/modules/hal/src/Tests/NormalizerTestBase.php4
-rw-r--r--core/modules/language/src/Tests/Condition/LanguageConditionTest.php4
-rw-r--r--core/modules/language/src/Tests/LanguageTestBase.php4
-rw-r--r--core/modules/node/src/Tests/Config/NodeImportChangeTest.php4
-rw-r--r--core/modules/node/src/Tests/Config/NodeImportCreateTest.php4
-rw-r--r--core/modules/node/src/Tests/NodeLastChangedTest.php4
-rw-r--r--core/modules/quickedit/src/Tests/QuickEditTestBase.php4
-rw-r--r--core/modules/rdf/src/Tests/CrudTest.php4
-rw-r--r--core/modules/rdf/src/Tests/RdfaAttributesTest.php4
-rw-r--r--core/modules/serialization/src/Tests/NormalizerTestBase.php4
-rw-r--r--core/modules/serialization/src/Tests/SerializationTest.php4
-rw-r--r--core/modules/system/src/Tests/Action/ActionUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php4
-rw-r--r--core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php4
-rw-r--r--core/modules/system/src/Tests/Common/CascadingStylesheetsTest.php4
-rw-r--r--core/modules/system/src/Tests/Common/JavaScriptTest.php4
-rw-r--r--core/modules/system/src/Tests/Common/MergeAttachmentsTest.php4
-rw-r--r--core/modules/system/src/Tests/Common/RenderElementTypesTest.php4
-rw-r--r--core/modules/system/src/Tests/Common/RenderTest.php4
-rw-r--r--core/modules/system/src/Tests/Common/SystemListingTest.php4
-rw-r--r--core/modules/system/src/Tests/Common/XssUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Database/DatabaseTestBase.php4
-rw-r--r--core/modules/system/src/Tests/Database/NextIdTest.php4
-rw-r--r--core/modules/system/src/Tests/DrupalKernel/DrupalKernelSiteTest.php8
-rw-r--r--core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php4
-rw-r--r--core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php4
-rw-r--r--core/modules/system/src/Tests/Entity/ConfigEntityQueryTest.php4
-rw-r--r--core/modules/system/src/Tests/Entity/EntityTypedDataDefinitionTest.php4
-rw-r--r--core/modules/system/src/Tests/Entity/EntityUnitTestBase.php4
-rw-r--r--core/modules/system/src/Tests/Entity/FieldAccessTest.php4
-rw-r--r--core/modules/system/src/Tests/Extension/InfoParserUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Extension/ThemeHandlerTest.php4
-rw-r--r--core/modules/system/src/Tests/File/FileTestBase.php4
-rw-r--r--core/modules/system/src/Tests/File/HtaccessUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Form/FormCacheTest.php4
-rw-r--r--core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Installer/InstallerTranslationVersionUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Lock/LockUnitTest.php4
-rw-r--r--core/modules/system/src/Tests/Path/PathUnitTestBase.php4
-rw-r--r--core/modules/system/src/Tests/PhpStorage/PhpStorageFactoryTest.php4
-rw-r--r--core/modules/system/src/Tests/Queue/QueueTest.php4
-rw-r--r--core/modules/system/src/Tests/System/InfoAlterTest.php4
-rw-r--r--core/modules/system/src/Tests/Theme/TableTest.php4
-rw-r--r--core/modules/system/src/Tests/Theme/ThemeSettingsTest.php4
-rw-r--r--core/modules/system/src/Tests/Transliteration/TransliterationTest.php4
-rw-r--r--core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php4
-rw-r--r--core/modules/system/src/Tests/TypedData/TypedDataTest.php4
-rw-r--r--core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php4
-rw-r--r--core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php4
-rw-r--r--core/modules/text/src/Tests/TextSummaryTest.php4
-rw-r--r--core/modules/tour/src/Tests/TourPluginTest.php4
-rw-r--r--core/modules/user/src/Tests/UserAccountFormFieldsTest.php4
-rw-r--r--core/modules/user/src/Tests/UserEntityTest.php4
-rw-r--r--core/modules/user/src/Tests/UserInstallTest.php4
-rw-r--r--core/modules/user/src/Tests/UserValidationTest.php4
79 files changed, 160 insertions, 160 deletions
diff --git a/core/modules/block/src/Tests/BlockInterfaceTest.php b/core/modules/block/src/Tests/BlockInterfaceTest.php
index 3c7ecb0..769ed89 100644
--- a/core/modules/block/src/Tests/BlockInterfaceTest.php
+++ b/core/modules/block/src/Tests/BlockInterfaceTest.php
@@ -8,7 +8,7 @@
namespace Drupal\block\Tests;
use Drupal\Core\Form\FormState;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\block\BlockInterface;
/**
@@ -16,7 +16,7 @@ use Drupal\block\BlockInterface;
*
* @group block
*/
-class BlockInterfaceTest extends DrupalUnitTestBase {
+class BlockInterfaceTest extends KernelTestBase {
public static $modules = array('system', 'block', 'block_test', 'user');
/**
diff --git a/core/modules/block/src/Tests/BlockStorageUnitTest.php b/core/modules/block/src/Tests/BlockStorageUnitTest.php
index 07b0c78..b550bcc 100644
--- a/core/modules/block/src/Tests/BlockStorageUnitTest.php
+++ b/core/modules/block/src/Tests/BlockStorageUnitTest.php
@@ -8,7 +8,7 @@
namespace Drupal\block\Tests;
use Drupal\Core\Config\Entity\ConfigEntityStorage;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\block_test\Plugin\Block\TestHtmlBlock;
use Drupal\Component\Plugin\Exception\PluginException;
use Drupal\block\Entity\Block;
@@ -19,7 +19,7 @@ use Drupal\block\BlockInterface;
*
* @group block
*/
-class BlockStorageUnitTest extends DrupalUnitTestBase {
+class BlockStorageUnitTest extends KernelTestBase {
/**
* Modules to install.
diff --git a/core/modules/block/src/Tests/BlockViewBuilderTest.php b/core/modules/block/src/Tests/BlockViewBuilderTest.php
index 3760570..2ddbcab 100644
--- a/core/modules/block/src/Tests/BlockViewBuilderTest.php
+++ b/core/modules/block/src/Tests/BlockViewBuilderTest.php
@@ -10,7 +10,7 @@ namespace Drupal\block\Tests;
use Drupal\Component\Utility\Html;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Cache\UrlCacheContext;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
use Drupal\block\Entity\Block;
@@ -20,7 +20,7 @@ use Drupal\block\Entity\Block;
*
* @group block
*/
-class BlockViewBuilderTest extends DrupalUnitTestBase {
+class BlockViewBuilderTest extends KernelTestBase {
/**
* Modules to install.
diff --git a/core/modules/config/src/Tests/ConfigCRUDTest.php b/core/modules/config/src/Tests/ConfigCRUDTest.php
index 9ed6d94..57d556a 100644
--- a/core/modules/config/src/Tests/ConfigCRUDTest.php
+++ b/core/modules/config/src/Tests/ConfigCRUDTest.php
@@ -11,7 +11,7 @@ use Drupal\Component\Utility\String;
use Drupal\Core\Config\ConfigNameException;
use Drupal\Core\Config\ConfigValueException;
use Drupal\Core\Config\InstallStorage;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Config\FileStorage;
use Drupal\Core\Config\DatabaseStorage;
use Drupal\Core\Config\UnsupportedDataTypeConfigException;
@@ -21,7 +21,7 @@ use Drupal\Core\Config\UnsupportedDataTypeConfigException;
*
* @group config
*/
-class ConfigCRUDTest extends DrupalUnitTestBase {
+class ConfigCRUDTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigDependencyTest.php b/core/modules/config/src/Tests/ConfigDependencyTest.php
index fa903b9..88abef7 100644
--- a/core/modules/config/src/Tests/ConfigDependencyTest.php
+++ b/core/modules/config/src/Tests/ConfigDependencyTest.php
@@ -7,14 +7,14 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests for configuration dependencies.
*
* @group config
*/
-class ConfigDependencyTest extends DrupalUnitTestBase {
+class ConfigDependencyTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigDiffTest.php b/core/modules/config/src/Tests/ConfigDiffTest.php
index 7fda716..10f6902 100644
--- a/core/modules/config/src/Tests/ConfigDiffTest.php
+++ b/core/modules/config/src/Tests/ConfigDiffTest.php
@@ -7,14 +7,14 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Calculating the difference between two sets of configuration.
*
* @group config
*/
-class ConfigDiffTest extends DrupalUnitTestBase {
+class ConfigDiffTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigEntityStatusTest.php b/core/modules/config/src/Tests/ConfigEntityStatusTest.php
index 3ad7bfb..caad767 100644
--- a/core/modules/config/src/Tests/ConfigEntityStatusTest.php
+++ b/core/modules/config/src/Tests/ConfigEntityStatusTest.php
@@ -7,14 +7,14 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests configuration entity status functionality.
*
* @group config
*/
-class ConfigEntityStatusTest extends DrupalUnitTestBase {
+class ConfigEntityStatusTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigEntityStorageTest.php b/core/modules/config/src/Tests/ConfigEntityStorageTest.php
index 0965fea..19bf959 100644
--- a/core/modules/config/src/Tests/ConfigEntityStorageTest.php
+++ b/core/modules/config/src/Tests/ConfigEntityStorageTest.php
@@ -7,7 +7,7 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Config\ConfigDuplicateUUIDException;
/**
@@ -16,7 +16,7 @@ use Drupal\Core\Config\ConfigDuplicateUUIDException;
*
* @group config
*/
-class ConfigEntityStorageTest extends DrupalUnitTestBase {
+class ConfigEntityStorageTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigEntityUnitTest.php b/core/modules/config/src/Tests/ConfigEntityUnitTest.php
index b9daa6c..e543c41 100644
--- a/core/modules/config/src/Tests/ConfigEntityUnitTest.php
+++ b/core/modules/config/src/Tests/ConfigEntityUnitTest.php
@@ -8,14 +8,14 @@
namespace Drupal\config\Tests;
use Drupal\Core\Entity\EntityInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Unit tests for configuration entity base methods.
*
* @group config
*/
-class ConfigEntityUnitTest extends DrupalUnitTestBase {
+class ConfigEntityUnitTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigEventsTest.php b/core/modules/config/src/Tests/ConfigEventsTest.php
index 93ef627..b4f7279 100644
--- a/core/modules/config/src/Tests/ConfigEventsTest.php
+++ b/core/modules/config/src/Tests/ConfigEventsTest.php
@@ -9,14 +9,14 @@ namespace Drupal\config\Tests;
use Drupal\Core\Config\Config;
use Drupal\Core\Config\ConfigEvents;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests events fired on configuration objects.
*
* @group config
*/
-class ConfigEventsTest extends DrupalUnitTestBase {
+class ConfigEventsTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigFileContentTest.php b/core/modules/config/src/Tests/ConfigFileContentTest.php
index 0f5b8d0..35ca948 100644
--- a/core/modules/config/src/Tests/ConfigFileContentTest.php
+++ b/core/modules/config/src/Tests/ConfigFileContentTest.php
@@ -8,14 +8,14 @@
namespace Drupal\config\Tests;
use Drupal\Core\Config\FileStorage;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests reading and writing of configuration files.
*
* @group config
*/
-class ConfigFileContentTest extends DrupalUnitTestBase {
+class ConfigFileContentTest extends KernelTestBase {
/**
* Tests setting, writing, and reading of a configuration setting.
*/
diff --git a/core/modules/config/src/Tests/ConfigImportRecreateTest.php b/core/modules/config/src/Tests/ConfigImportRecreateTest.php
index 65fd799..e1a607a 100644
--- a/core/modules/config/src/Tests/ConfigImportRecreateTest.php
+++ b/core/modules/config/src/Tests/ConfigImportRecreateTest.php
@@ -10,14 +10,14 @@ namespace Drupal\config\Tests;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Config\ConfigImporter;
use Drupal\Core\Config\StorageComparer;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests importing recreated configuration entities.
*
* @group config
*/
-class ConfigImportRecreateTest extends DrupalUnitTestBase {
+class ConfigImportRecreateTest extends KernelTestBase {
/**
* Config Importer object used for testing.
diff --git a/core/modules/config/src/Tests/ConfigImportRenameValidationTest.php b/core/modules/config/src/Tests/ConfigImportRenameValidationTest.php
index 6639d5b..ea2face 100644
--- a/core/modules/config/src/Tests/ConfigImportRenameValidationTest.php
+++ b/core/modules/config/src/Tests/ConfigImportRenameValidationTest.php
@@ -13,14 +13,14 @@ use Drupal\Component\Uuid\Php;
use Drupal\Core\Config\ConfigImporter;
use Drupal\Core\Config\ConfigImporterException;
use Drupal\Core\Config\StorageComparer;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests validating renamed configuration in a configuration import.
*
* @group config
*/
-class ConfigImportRenameValidationTest extends DrupalUnitTestBase {
+class ConfigImportRenameValidationTest extends KernelTestBase {
/**
* Config Importer object used for testing.
diff --git a/core/modules/config/src/Tests/ConfigImporterTest.php b/core/modules/config/src/Tests/ConfigImporterTest.php
index 8907fc2..65efbf5 100644
--- a/core/modules/config/src/Tests/ConfigImporterTest.php
+++ b/core/modules/config/src/Tests/ConfigImporterTest.php
@@ -11,14 +11,14 @@ use Drupal\Component\Utility\String;
use Drupal\Core\Config\ConfigImporter;
use Drupal\Core\Config\ConfigImporterException;
use Drupal\Core\Config\StorageComparer;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests importing configuration from files into active configuration.
*
* @group config
*/
-class ConfigImporterTest extends DrupalUnitTestBase {
+class ConfigImporterTest extends KernelTestBase {
/**
* Config Importer object used for testing.
diff --git a/core/modules/config/src/Tests/ConfigInstallTest.php b/core/modules/config/src/Tests/ConfigInstallTest.php
index e284638..532d194 100644
--- a/core/modules/config/src/Tests/ConfigInstallTest.php
+++ b/core/modules/config/src/Tests/ConfigInstallTest.php
@@ -7,7 +7,7 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests installation of configuration objects in installation functionality.
@@ -15,7 +15,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
* @group config
* @see \Drupal\Core\Config\ConfigInstaller
*/
-class ConfigInstallTest extends DrupalUnitTestBase {
+class ConfigInstallTest extends KernelTestBase {
protected function setUp() {
parent::setUp();
diff --git a/core/modules/config/src/Tests/ConfigLanguageOverrideTest.php b/core/modules/config/src/Tests/ConfigLanguageOverrideTest.php
index 1a95b3f..2371a88 100644
--- a/core/modules/config/src/Tests/ConfigLanguageOverrideTest.php
+++ b/core/modules/config/src/Tests/ConfigLanguageOverrideTest.php
@@ -8,14 +8,14 @@
namespace Drupal\config\Tests;
use Drupal\language\Entity\ConfigurableLanguage;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Confirm that language overrides work.
*
* @group config
*/
-class ConfigLanguageOverrideTest extends DrupalUnitTestBase {
+class ConfigLanguageOverrideTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigModuleOverridesTest.php b/core/modules/config/src/Tests/ConfigModuleOverridesTest.php
index a5a5101..3a663d5 100644
--- a/core/modules/config/src/Tests/ConfigModuleOverridesTest.php
+++ b/core/modules/config/src/Tests/ConfigModuleOverridesTest.php
@@ -7,14 +7,14 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests module overrides of configuration using event subscribers.
*
* @group config
*/
-class ConfigModuleOverridesTest extends DrupalUnitTestBase {
+class ConfigModuleOverridesTest extends KernelTestBase {
public static $modules = array('system', 'config', 'config_override_test');
diff --git a/core/modules/config/src/Tests/ConfigOverrideTest.php b/core/modules/config/src/Tests/ConfigOverrideTest.php
index 70bbee7..38ba0a1 100644
--- a/core/modules/config/src/Tests/ConfigOverrideTest.php
+++ b/core/modules/config/src/Tests/ConfigOverrideTest.php
@@ -7,14 +7,14 @@
namespace Drupal\config\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests configuration overrides via $config in settings.php.
*
* @group config
*/
-class ConfigOverrideTest extends DrupalUnitTestBase {
+class ConfigOverrideTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigOverridesPriorityTest.php b/core/modules/config/src/Tests/ConfigOverridesPriorityTest.php
index 3e6e288..52e865d 100644
--- a/core/modules/config/src/Tests/ConfigOverridesPriorityTest.php
+++ b/core/modules/config/src/Tests/ConfigOverridesPriorityTest.php
@@ -8,7 +8,7 @@
namespace Drupal\config\Tests;
use Drupal\Core\Language\Language;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests that language, module and settings.php are applied in the correct
@@ -16,7 +16,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group config
*/
-class ConfigOverridesPriorityTest extends DrupalUnitTestBase {
+class ConfigOverridesPriorityTest extends KernelTestBase {
public static $modules = array('system', 'config', 'config_override_test', 'language');
diff --git a/core/modules/config/src/Tests/ConfigSchemaTest.php b/core/modules/config/src/Tests/ConfigSchemaTest.php
index 7005002..202b552 100644
--- a/core/modules/config/src/Tests/ConfigSchemaTest.php
+++ b/core/modules/config/src/Tests/ConfigSchemaTest.php
@@ -11,14 +11,14 @@ use Drupal\Core\Config\FileStorage;
use Drupal\Core\Config\InstallStorage;
use Drupal\Core\TypedData\Type\IntegerInterface;
use Drupal\Core\TypedData\Type\StringInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests schema for configuration objects.
*
* @group config
*/
-class ConfigSchemaTest extends DrupalUnitTestBase {
+class ConfigSchemaTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/ConfigSnapshotTest.php b/core/modules/config/src/Tests/ConfigSnapshotTest.php
index a7d6eda..b3789d6 100644
--- a/core/modules/config/src/Tests/ConfigSnapshotTest.php
+++ b/core/modules/config/src/Tests/ConfigSnapshotTest.php
@@ -8,14 +8,14 @@
namespace Drupal\config\Tests;
use Drupal\Core\Config\StorageComparer;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests config snapshot creation and updating.
*
* @group config
*/
-class ConfigSnapshotTest extends DrupalUnitTestBase {
+class ConfigSnapshotTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/config/src/Tests/Storage/ConfigStorageTestBase.php b/core/modules/config/src/Tests/Storage/ConfigStorageTestBase.php
index e3c4e76..7f07483 100644
--- a/core/modules/config/src/Tests/Storage/ConfigStorageTestBase.php
+++ b/core/modules/config/src/Tests/Storage/ConfigStorageTestBase.php
@@ -7,7 +7,7 @@
namespace Drupal\config\Tests\Storage;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Base class for testing storage operations.
@@ -21,7 +21,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
* supply the necessary helper methods to interact with the raw/native storage
* directly.
*/
-abstract class ConfigStorageTestBase extends DrupalUnitTestBase {
+abstract class ConfigStorageTestBase extends KernelTestBase {
/**
* @var \Drupal\Core\Config\StorageInterface;
diff --git a/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php b/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php
index b05b446..1a2793f 100644
--- a/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php
+++ b/core/modules/content_translation/src/Tests/ContentTranslationSyncUnitTest.php
@@ -7,7 +7,7 @@
namespace Drupal\content_translation\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\content_translation\FieldTranslationSynchronizer;
/**
@@ -15,7 +15,7 @@ use Drupal\content_translation\FieldTranslationSynchronizer;
*
* @group content_translation
*/
-class ContentTranslationSyncUnitTest extends DrupalUnitTestBase {
+class ContentTranslationSyncUnitTest extends KernelTestBase {
/**
* The synchronizer class to be tested.
diff --git a/core/modules/file/src/Tests/FileManagedUnitTestBase.php b/core/modules/file/src/Tests/FileManagedUnitTestBase.php
index 051601a..cd07552 100644
--- a/core/modules/file/src/Tests/FileManagedUnitTestBase.php
+++ b/core/modules/file/src/Tests/FileManagedUnitTestBase.php
@@ -8,13 +8,13 @@
namespace Drupal\file\Tests;
use Drupal\file\FileInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Base class for file unit tests that use the file_test module to test uploads and
* hooks.
*/
-abstract class FileManagedUnitTestBase extends DrupalUnitTestBase {
+abstract class FileManagedUnitTestBase extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/hal/src/Tests/NormalizerTestBase.php b/core/modules/hal/src/Tests/NormalizerTestBase.php
index 68651f5..5e72182 100644
--- a/core/modules/hal/src/Tests/NormalizerTestBase.php
+++ b/core/modules/hal/src/Tests/NormalizerTestBase.php
@@ -20,13 +20,13 @@ use Drupal\rest\LinkManager\TypeLinkManager;
use Drupal\serialization\EntityResolver\ChainEntityResolver;
use Drupal\serialization\EntityResolver\TargetIdResolver;
use Drupal\serialization\EntityResolver\UuidResolver;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Symfony\Component\Serializer\Serializer;
/**
* Test the HAL normalizer.
*/
-abstract class NormalizerTestBase extends DrupalUnitTestBase {
+abstract class NormalizerTestBase extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/language/src/Tests/Condition/LanguageConditionTest.php b/core/modules/language/src/Tests/Condition/LanguageConditionTest.php
index 882a154..9cd3cf9 100644
--- a/core/modules/language/src/Tests/Condition/LanguageConditionTest.php
+++ b/core/modules/language/src/Tests/Condition/LanguageConditionTest.php
@@ -8,7 +8,7 @@
namespace Drupal\language\Tests\Condition;
use Drupal\language\Entity\ConfigurableLanguage;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Condition\ConditionManager;
/**
@@ -17,7 +17,7 @@ use Drupal\Core\Condition\ConditionManager;
*
* @group language
*/
-class LanguageConditionTest extends DrupalUnitTestBase {
+class LanguageConditionTest extends KernelTestBase {
/**
* The condition plugin manager.
diff --git a/core/modules/language/src/Tests/LanguageTestBase.php b/core/modules/language/src/Tests/LanguageTestBase.php
index 7c7cb26..b07c36f 100644
--- a/core/modules/language/src/Tests/LanguageTestBase.php
+++ b/core/modules/language/src/Tests/LanguageTestBase.php
@@ -7,12 +7,12 @@
namespace Drupal\language\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Test for dependency injected language object.
*/
-abstract class LanguageTestBase extends DrupalUnitTestBase {
+abstract class LanguageTestBase extends KernelTestBase {
public static $modules = array('system', 'language', 'language_test');
/**
diff --git a/core/modules/node/src/Tests/Config/NodeImportChangeTest.php b/core/modules/node/src/Tests/Config/NodeImportChangeTest.php
index 53d3d48..5df5486 100644
--- a/core/modules/node/src/Tests/Config/NodeImportChangeTest.php
+++ b/core/modules/node/src/Tests/Config/NodeImportChangeTest.php
@@ -7,14 +7,14 @@
namespace Drupal\node\Tests\Config;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Change content types during config create method invocation.
*
* @group node
*/
-class NodeImportChangeTest extends DrupalUnitTestBase {
+class NodeImportChangeTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/node/src/Tests/Config/NodeImportCreateTest.php b/core/modules/node/src/Tests/Config/NodeImportCreateTest.php
index 209c8af..99f4e56 100644
--- a/core/modules/node/src/Tests/Config/NodeImportCreateTest.php
+++ b/core/modules/node/src/Tests/Config/NodeImportCreateTest.php
@@ -8,14 +8,14 @@
namespace Drupal\node\Tests\Config;
use Drupal\field\Entity\FieldConfig;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Create content types during config create method invocation.
*
* @group node
*/
-class NodeImportCreateTest extends DrupalUnitTestBase {
+class NodeImportCreateTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/node/src/Tests/NodeLastChangedTest.php b/core/modules/node/src/Tests/NodeLastChangedTest.php
index dd308c6..4444cc1 100644
--- a/core/modules/node/src/Tests/NodeLastChangedTest.php
+++ b/core/modules/node/src/Tests/NodeLastChangedTest.php
@@ -7,14 +7,14 @@
namespace Drupal\node\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the node_last_changed() function.
*
* @group node
*/
-class NodeLastChangedTest extends DrupalUnitTestBase {
+class NodeLastChangedTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/quickedit/src/Tests/QuickEditTestBase.php b/core/modules/quickedit/src/Tests/QuickEditTestBase.php
index 614c52f..e08ec2e 100644
--- a/core/modules/quickedit/src/Tests/QuickEditTestBase.php
+++ b/core/modules/quickedit/src/Tests/QuickEditTestBase.php
@@ -7,12 +7,12 @@
namespace Drupal\quickedit\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Base class for testing Quick Edit functionality.
*/
-abstract class QuickEditTestBase extends DrupalUnitTestBase {
+abstract class QuickEditTestBase extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/rdf/src/Tests/CrudTest.php b/core/modules/rdf/src/Tests/CrudTest.php
index 49c14b7..0779f75 100644
--- a/core/modules/rdf/src/Tests/CrudTest.php
+++ b/core/modules/rdf/src/Tests/CrudTest.php
@@ -7,14 +7,14 @@
namespace Drupal\rdf\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the RDF mapping CRUD functions.
*
* @group rdf
*/
-class CrudTest extends DrupalUnitTestBase {
+class CrudTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/rdf/src/Tests/RdfaAttributesTest.php b/core/modules/rdf/src/Tests/RdfaAttributesTest.php
index 3da1c65..fb167c3 100644
--- a/core/modules/rdf/src/Tests/RdfaAttributesTest.php
+++ b/core/modules/rdf/src/Tests/RdfaAttributesTest.php
@@ -7,14 +7,14 @@
namespace Drupal\rdf\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests RDFa attribute generation from RDF mapping.
*
* @group rdf
*/
-class RdfaAttributesTest extends DrupalUnitTestBase {
+class RdfaAttributesTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/serialization/src/Tests/NormalizerTestBase.php b/core/modules/serialization/src/Tests/NormalizerTestBase.php
index 5e1c372..3078f84 100644
--- a/core/modules/serialization/src/Tests/NormalizerTestBase.php
+++ b/core/modules/serialization/src/Tests/NormalizerTestBase.php
@@ -7,9 +7,9 @@
namespace Drupal\serialization\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
-abstract class NormalizerTestBase extends DrupalUnitTestBase {
+abstract class NormalizerTestBase extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/serialization/src/Tests/SerializationTest.php b/core/modules/serialization/src/Tests/SerializationTest.php
index 772999c..cc9589a 100644
--- a/core/modules/serialization/src/Tests/SerializationTest.php
+++ b/core/modules/serialization/src/Tests/SerializationTest.php
@@ -7,7 +7,7 @@
namespace Drupal\serialization\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Symfony\Component\Serializer\Exception\UnexpectedValueException;
/**
@@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Exception\UnexpectedValueException;
*
* @group serialization
*/
-class SerializationTest extends DrupalUnitTestBase {
+class SerializationTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Action/ActionUnitTest.php b/core/modules/system/src/Tests/Action/ActionUnitTest.php
index d442399..28925bb 100644
--- a/core/modules/system/src/Tests/Action/ActionUnitTest.php
+++ b/core/modules/system/src/Tests/Action/ActionUnitTest.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\Action;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Action\ActionInterface;
/**
@@ -15,7 +15,7 @@ use Drupal\Core\Action\ActionInterface;
*
* @group Action
*/
-class ActionUnitTest extends DrupalUnitTestBase {
+class ActionUnitTest extends KernelTestBase {
/**
* {@inheritdoc}
diff --git a/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php b/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php
index c832ded..e2b9d37 100644
--- a/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php
+++ b/core/modules/system/src/Tests/Cache/DatabaseBackendTagTest.php
@@ -9,7 +9,7 @@ namespace Drupal\system\Tests\Cache;
use Drupal\Core\Cache\Cache;
use Drupal\Core\DependencyInjection\ContainerBuilder;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Symfony\Component\DependencyInjection\Reference;
/**
@@ -17,7 +17,7 @@ use Symfony\Component\DependencyInjection\Reference;
*
* @group Cache
*/
-class DatabaseBackendTagTest extends DrupalUnitTestBase {
+class DatabaseBackendTagTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php b/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
index 91b75ba..97d7ccd 100644
--- a/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
+++ b/core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php
@@ -9,7 +9,7 @@ namespace Drupal\system\Tests\Cache;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Cache\CacheBackendInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests any cache backend.
@@ -21,7 +21,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
* @see DatabaseBackendUnitTestCase
* For a full working implementation.
*/
-abstract class GenericCacheBackendUnitTestBase extends DrupalUnitTestBase {
+abstract class GenericCacheBackendUnitTestBase extends KernelTestBase {
/**
* Array of objects implementing Drupal\Core\Cache\CacheBackendInterface.
diff --git a/core/modules/system/src/Tests/Common/CascadingStylesheetsTest.php b/core/modules/system/src/Tests/Common/CascadingStylesheetsTest.php
index d319de3..658cc29 100644
--- a/core/modules/system/src/Tests/Common/CascadingStylesheetsTest.php
+++ b/core/modules/system/src/Tests/Common/CascadingStylesheetsTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\Common;
use Drupal\Component\Utility\String;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests adding various cascading stylesheets to the page.
*
* @group Common
*/
-class CascadingStylesheetsTest extends DrupalUnitTestBase {
+class CascadingStylesheetsTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Common/JavaScriptTest.php b/core/modules/system/src/Tests/Common/JavaScriptTest.php
index a59d50e..9c924fd 100644
--- a/core/modules/system/src/Tests/Common/JavaScriptTest.php
+++ b/core/modules/system/src/Tests/Common/JavaScriptTest.php
@@ -9,7 +9,7 @@ namespace Drupal\system\Tests\Common;
use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\Unicode;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Component\Utility\Crypt;
/**
@@ -17,7 +17,7 @@ use Drupal\Component\Utility\Crypt;
*
* @group Common
*/
-class JavaScriptTest extends DrupalUnitTestBase {
+class JavaScriptTest extends KernelTestBase {
/**
* Enable Language and SimpleTest in the test environment.
diff --git a/core/modules/system/src/Tests/Common/MergeAttachmentsTest.php b/core/modules/system/src/Tests/Common/MergeAttachmentsTest.php
index 51d7c62..20a4401 100644
--- a/core/modules/system/src/Tests/Common/MergeAttachmentsTest.php
+++ b/core/modules/system/src/Tests/Common/MergeAttachmentsTest.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\Common;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the merging of attachments.
@@ -16,7 +16,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group Common
*/
-class MergeAttachmentsTest extends DrupalUnitTestBase {
+class MergeAttachmentsTest extends KernelTestBase {
/**
* Tests justs library asset merging.
diff --git a/core/modules/system/src/Tests/Common/RenderElementTypesTest.php b/core/modules/system/src/Tests/Common/RenderElementTypesTest.php
index c9d609c..4484ea5 100644
--- a/core/modules/system/src/Tests/Common/RenderElementTypesTest.php
+++ b/core/modules/system/src/Tests/Common/RenderElementTypesTest.php
@@ -9,14 +9,14 @@ namespace Drupal\system\Tests\Common;
use Drupal\Component\Utility\String;
use Drupal\Core\Url;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the markup of core render element types passed to drupal_render().
*
* @group Common
*/
-class RenderElementTypesTest extends DrupalUnitTestBase {
+class RenderElementTypesTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Common/RenderTest.php b/core/modules/system/src/Tests/Common/RenderTest.php
index 206f0a5..a1d7523 100644
--- a/core/modules/system/src/Tests/Common/RenderTest.php
+++ b/core/modules/system/src/Tests/Common/RenderTest.php
@@ -11,14 +11,14 @@ use Drupal\Component\Serialization\Json;
use Drupal\Component\Utility\Html;
use Drupal\Core\Render\Element;
use Drupal\Core\Url;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Performs functional tests on drupal_render().
*
* @group Common
*/
-class RenderTest extends DrupalUnitTestBase {
+class RenderTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Common/SystemListingTest.php b/core/modules/system/src/Tests/Common/SystemListingTest.php
index 6b2e1bb..861a1df 100644
--- a/core/modules/system/src/Tests/Common/SystemListingTest.php
+++ b/core/modules/system/src/Tests/Common/SystemListingTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\Common;
use Drupal\Core\Extension\ExtensionDiscovery;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests scanning system directories in drupal_system_listing().
*
* @group Common
*/
-class SystemListingTest extends DrupalUnitTestBase {
+class SystemListingTest extends KernelTestBase {
/**
* Tests that files in different directories take precedence as expected.
*/
diff --git a/core/modules/system/src/Tests/Common/XssUnitTest.php b/core/modules/system/src/Tests/Common/XssUnitTest.php
index 6f22713..511dcc6 100644
--- a/core/modules/system/src/Tests/Common/XssUnitTest.php
+++ b/core/modules/system/src/Tests/Common/XssUnitTest.php
@@ -8,7 +8,7 @@
namespace Drupal\system\Tests\Common;
use Drupal\Component\Utility\UrlHelper;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Confirm that \Drupal\Component\Utility\Xss::filter() and check_url() work
@@ -16,7 +16,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group Common
*/
-class XssUnitTest extends DrupalUnitTestBase {
+class XssUnitTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Database/DatabaseTestBase.php b/core/modules/system/src/Tests/Database/DatabaseTestBase.php
index 4a190f6..524e0e8 100644
--- a/core/modules/system/src/Tests/Database/DatabaseTestBase.php
+++ b/core/modules/system/src/Tests/Database/DatabaseTestBase.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\Database;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Base class for databases database tests.
@@ -15,7 +15,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
* Because all database tests share the same test data, we can centralize that
* here.
*/
-abstract class DatabaseTestBase extends DrupalUnitTestBase {
+abstract class DatabaseTestBase extends KernelTestBase {
public static $modules = array('database_test');
diff --git a/core/modules/system/src/Tests/Database/NextIdTest.php b/core/modules/system/src/Tests/Database/NextIdTest.php
index 584b7de..d7456c7 100644
--- a/core/modules/system/src/Tests/Database/NextIdTest.php
+++ b/core/modules/system/src/Tests/Database/NextIdTest.php
@@ -7,14 +7,14 @@
namespace Drupal\system\Tests\Database;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the sequences API.
*
* @group Database
*/
-class NextIdTest extends DrupalUnitTestBase {
+class NextIdTest extends KernelTestBase {
/**
* The modules to enable.
diff --git a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelSiteTest.php b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelSiteTest.php
index 1a719d2..59ee3f3 100644
--- a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelSiteTest.php
+++ b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelSiteTest.php
@@ -7,14 +7,14 @@
namespace Drupal\system\Tests\DrupalKernel;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests site-specific service overrides.
*
* @group DrupalKernel
*/
-class DrupalKernelSiteTest extends DrupalUnitTestBase {
+class DrupalKernelSiteTest extends KernelTestBase {
/**
* Tests services.yml in site directory.
@@ -22,8 +22,8 @@ class DrupalKernelSiteTest extends DrupalUnitTestBase {
public function testServicesYml() {
$this->assertFalse($this->container->has('site.service.yml'));
// A service provider class always has precedence over services.yml files.
- // DrupalUnitTestBase::buildContainer() swaps out many services with
- // in-memory implementations already, so those cannot be tested.
+ // KernelTestBase::buildContainer() swaps out many services with in-memory
+ // implementations already, so those cannot be tested.
$this->assertIdentical(get_class($this->container->get('cache.backend.database')), 'Drupal\Core\Cache\DatabaseBackendFactory');
$class = __CLASS__;
diff --git a/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php b/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php
index b97b1c9..4fdc9b7 100644
--- a/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php
+++ b/core/modules/system/src/Tests/DrupalKernel/ServiceDestructionTest.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\DrupalKernel;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Event\PostResponseEvent;
@@ -16,7 +16,7 @@ use Symfony\Component\HttpKernel\Event\PostResponseEvent;
*
* @group DrupalKernel
*/
-class ServiceDestructionTest extends DrupalUnitTestBase {
+class ServiceDestructionTest extends KernelTestBase {
/**
* Verifies that services are destructed when used.
diff --git a/core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php b/core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php
index 16e03a8..be2dc48 100644
--- a/core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php
+++ b/core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php
@@ -8,7 +8,7 @@
namespace Drupal\system\Tests\Entity;
use Drupal\Core\TypedData\DataDefinition;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\system\Tests\TypedData;
/**
@@ -16,7 +16,7 @@ use Drupal\system\Tests\TypedData;
*
* @group Entity
*/
-class BundleConstraintValidatorTest extends DrupalUnitTestBase {
+class BundleConstraintValidatorTest extends KernelTestBase {
/**
* The typed data manager to use.
diff --git a/core/modules/system/src/Tests/Entity/ConfigEntityQueryTest.php b/core/modules/system/src/Tests/Entity/ConfigEntityQueryTest.php
index 1bd8f20..7641cf2 100644
--- a/core/modules/system/src/Tests/Entity/ConfigEntityQueryTest.php
+++ b/core/modules/system/src/Tests/Entity/ConfigEntityQueryTest.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\Entity;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests Config Entity Query functionality.
@@ -15,7 +15,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
* @group Entity
* @see \Drupal\Core\Config\Entity\Query
*/
-class ConfigEntityQueryTest extends DrupalUnitTestBase {
+class ConfigEntityQueryTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Entity/EntityTypedDataDefinitionTest.php b/core/modules/system/src/Tests/Entity/EntityTypedDataDefinitionTest.php
index 23318a0..d71ca15 100644
--- a/core/modules/system/src/Tests/Entity/EntityTypedDataDefinitionTest.php
+++ b/core/modules/system/src/Tests/Entity/EntityTypedDataDefinitionTest.php
@@ -15,14 +15,14 @@ use Drupal\Core\TypedData\ComplexDataDefinitionInterface;
use Drupal\Core\TypedData\DataReferenceDefinition;
use Drupal\Core\TypedData\DataReferenceDefinitionInterface;
use Drupal\Core\TypedData\ListDataDefinitionInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests deriving metadata of entity and field data types.
*
* @group Entity
*/
-class EntityTypedDataDefinitionTest extends DrupalUnitTestBase {
+class EntityTypedDataDefinitionTest extends KernelTestBase {
/**
* The typed data manager to use.
diff --git a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
index 235373e..ff89b91 100644
--- a/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
+++ b/core/modules/system/src/Tests/Entity/EntityUnitTestBase.php
@@ -7,13 +7,13 @@
namespace Drupal\system\Tests\Entity;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Entity\EntityInterface;
/**
* Defines an abstract test base for entity unit tests.
*/
-abstract class EntityUnitTestBase extends DrupalUnitTestBase {
+abstract class EntityUnitTestBase extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Entity/FieldAccessTest.php b/core/modules/system/src/Tests/Entity/FieldAccessTest.php
index 61faabc..b44d84a 100644
--- a/core/modules/system/src/Tests/Entity/FieldAccessTest.php
+++ b/core/modules/system/src/Tests/Entity/FieldAccessTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\Entity;
use Drupal\Core\Access\AccessResult;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests Field level access hooks.
*
* @group Entity
*/
-class FieldAccessTest extends DrupalUnitTestBase {
+class FieldAccessTest extends KernelTestBase {
/**
* Modules to load code from.
diff --git a/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php b/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php
index 17c441f..b925285 100644
--- a/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php
+++ b/core/modules/system/src/Tests/Extension/InfoParserUnitTest.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\Extension;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Extension\InfoParser;
use Drupal\Core\Extension\InfoParserException;
@@ -20,7 +20,7 @@ use Drupal\Core\Extension\InfoParserException;
*
* @group Extension
*/
-class InfoParserUnitTest extends DrupalUnitTestBase {
+class InfoParserUnitTest extends KernelTestBase {
/**
* The InfoParser object.
diff --git a/core/modules/system/src/Tests/Extension/ThemeHandlerTest.php b/core/modules/system/src/Tests/Extension/ThemeHandlerTest.php
index 1d382c7..50d299c 100644
--- a/core/modules/system/src/Tests/Extension/ThemeHandlerTest.php
+++ b/core/modules/system/src/Tests/Extension/ThemeHandlerTest.php
@@ -9,14 +9,14 @@ namespace Drupal\system\Tests\Extension;
use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\Extension\ExtensionNameLengthException;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests installing and uninstalling of themes.
*
* @group Extension
*/
-class ThemeHandlerTest extends DrupalUnitTestBase {
+class ThemeHandlerTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/File/FileTestBase.php b/core/modules/system/src/Tests/File/FileTestBase.php
index 2571a96..8e51fff 100644
--- a/core/modules/system/src/Tests/File/FileTestBase.php
+++ b/core/modules/system/src/Tests/File/FileTestBase.php
@@ -7,13 +7,13 @@
namespace Drupal\system\Tests\File;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Base class for file tests that adds some additional file specific
* assertions and helper functions.
*/
-abstract class FileTestBase extends DrupalUnitTestBase {
+abstract class FileTestBase extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/File/HtaccessUnitTest.php b/core/modules/system/src/Tests/File/HtaccessUnitTest.php
index 4fb7fed..ae66ff3 100644
--- a/core/modules/system/src/Tests/File/HtaccessUnitTest.php
+++ b/core/modules/system/src/Tests/File/HtaccessUnitTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\File;
use Drupal\Component\Utility\String;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests .htaccess file saving.
*
* @group File
*/
-class HtaccessUnitTest extends DrupalUnitTestBase {
+class HtaccessUnitTest extends KernelTestBase {
/**
* Tests file_save_htaccess().
diff --git a/core/modules/system/src/Tests/Form/FormCacheTest.php b/core/modules/system/src/Tests/Form/FormCacheTest.php
index 2124404..906a129 100644
--- a/core/modules/system/src/Tests/Form/FormCacheTest.php
+++ b/core/modules/system/src/Tests/Form/FormCacheTest.php
@@ -9,7 +9,7 @@ namespace Drupal\system\Tests\Form;
use Drupal\Core\Form\FormState;
use Drupal\Core\Session\UserSession;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests \Drupal::formBuilder()->setCache() and
@@ -17,7 +17,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group Form
*/
-class FormCacheTest extends DrupalUnitTestBase {
+class FormCacheTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php b/core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php
index 65a1ae0..27327a4 100644
--- a/core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php
+++ b/core/modules/system/src/Tests/Form/TriggeringElementProgrammedUnitTest.php
@@ -11,14 +11,14 @@ use Drupal\Component\Utility\String;
use Drupal\Core\Form\FormInterface;
use Drupal\Core\Form\FormState;
use Drupal\Core\Form\FormStateInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests detection of triggering_element for programmed form submissions.
*
* @group Form
*/
-class TriggeringElementProgrammedUnitTest extends DrupalUnitTestBase implements FormInterface {
+class TriggeringElementProgrammedUnitTest extends KernelTestBase implements FormInterface {
public static $modules = array('system');
diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationVersionUnitTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationVersionUnitTest.php
index c458716..dd4948f 100644
--- a/core/modules/system/src/Tests/Installer/InstallerTranslationVersionUnitTest.php
+++ b/core/modules/system/src/Tests/Installer/InstallerTranslationVersionUnitTest.php
@@ -7,7 +7,7 @@
namespace Drupal\system\Tests\Installer;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the translation version fallback used during site installation to
@@ -15,7 +15,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group Installer
*/
-class InstallerTranslationVersionUnitTest extends DrupalUnitTestBase {
+class InstallerTranslationVersionUnitTest extends KernelTestBase {
protected function setUp() {
parent::setUp();
diff --git a/core/modules/system/src/Tests/Lock/LockUnitTest.php b/core/modules/system/src/Tests/Lock/LockUnitTest.php
index 8144be8..ec249c5 100644
--- a/core/modules/system/src/Tests/Lock/LockUnitTest.php
+++ b/core/modules/system/src/Tests/Lock/LockUnitTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\Lock;
use Drupal\Core\Lock\DatabaseLockBackend;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the Database lock backend.
*
* @group Lock
*/
-class LockUnitTest extends DrupalUnitTestBase {
+class LockUnitTest extends KernelTestBase {
/**
* Database lock backend to test.
diff --git a/core/modules/system/src/Tests/Path/PathUnitTestBase.php b/core/modules/system/src/Tests/Path/PathUnitTestBase.php
index 3d25b1b..e9a19f7 100644
--- a/core/modules/system/src/Tests/Path/PathUnitTestBase.php
+++ b/core/modules/system/src/Tests/Path/PathUnitTestBase.php
@@ -7,13 +7,13 @@
namespace Drupal\system\Tests\Path;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Database\Database;
/**
* Base class for Path/URL alias integration tests.
*/
-abstract class PathUnitTestBase extends DrupalUnitTestBase {
+abstract class PathUnitTestBase extends KernelTestBase {
/**
* @var \Drupal\system\Tests\Path\UrlAliasFixtures
diff --git a/core/modules/system/src/Tests/PhpStorage/PhpStorageFactoryTest.php b/core/modules/system/src/Tests/PhpStorage/PhpStorageFactoryTest.php
index bad4c2f..248d203 100644
--- a/core/modules/system/src/Tests/PhpStorage/PhpStorageFactoryTest.php
+++ b/core/modules/system/src/Tests/PhpStorage/PhpStorageFactoryTest.php
@@ -11,7 +11,7 @@ use Drupal\Component\PhpStorage\MTimeProtectedFileStorage;
use Drupal\Core\PhpStorage\PhpStorageFactory;
use Drupal\Core\Site\Settings;
use Drupal\Core\StreamWrapper\PublicStream;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\system\PhpStorage\MockPhpStorage;
/**
@@ -20,7 +20,7 @@ use Drupal\system\PhpStorage\MockPhpStorage;
* @group PhpStorage
* @see \Drupal\Core\PhpStorage\PhpStorageFactory
*/
-class PhpStorageFactoryTest extends DrupalUnitTestBase {
+class PhpStorageFactoryTest extends KernelTestBase {
/**
* Tests the get() method with no settings.
diff --git a/core/modules/system/src/Tests/Queue/QueueTest.php b/core/modules/system/src/Tests/Queue/QueueTest.php
index 513297e..18585c4 100644
--- a/core/modules/system/src/Tests/Queue/QueueTest.php
+++ b/core/modules/system/src/Tests/Queue/QueueTest.php
@@ -10,14 +10,14 @@ namespace Drupal\system\Tests\Queue;
use Drupal\Core\Database\Database;
use Drupal\Core\Queue\DatabaseQueue;
use Drupal\Core\Queue\Memory;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Queues and dequeues a set of items to check the basic queue functionality.
*
* @group Queue
*/
-class QueueTest extends DrupalUnitTestBase {
+class QueueTest extends KernelTestBase {
/**
* The modules to enable.
diff --git a/core/modules/system/src/Tests/System/InfoAlterTest.php b/core/modules/system/src/Tests/System/InfoAlterTest.php
index 2930f33..02cdd17 100644
--- a/core/modules/system/src/Tests/System/InfoAlterTest.php
+++ b/core/modules/system/src/Tests/System/InfoAlterTest.php
@@ -7,14 +7,14 @@
namespace Drupal\system\Tests\System;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the effectiveness of hook_system_info_alter().
*
* @group system
*/
-class InfoAlterTest extends DrupalUnitTestBase {
+class InfoAlterTest extends KernelTestBase {
public static $modules = array('system');
diff --git a/core/modules/system/src/Tests/Theme/TableTest.php b/core/modules/system/src/Tests/Theme/TableTest.php
index 5e83c91..412cb8e 100644
--- a/core/modules/system/src/Tests/Theme/TableTest.php
+++ b/core/modules/system/src/Tests/Theme/TableTest.php
@@ -7,14 +7,14 @@
namespace Drupal\system\Tests\Theme;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests built-in table theme functions.
*
* @group Theme
*/
-class TableTest extends DrupalUnitTestBase {
+class TableTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php b/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php
index 299a96b..3ef48d0 100644
--- a/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php
+++ b/core/modules/system/src/Tests/Theme/ThemeSettingsTest.php
@@ -9,14 +9,14 @@ namespace Drupal\system\Tests\Theme;
use Drupal\Core\Config\InstallStorage;
use Drupal\Core\Extension\ExtensionDiscovery;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests theme settings functionality.
*
* @group Theme
*/
-class ThemeSettingsTest extends DrupalUnitTestBase {
+class ThemeSettingsTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/system/src/Tests/Transliteration/TransliterationTest.php b/core/modules/system/src/Tests/Transliteration/TransliterationTest.php
index 5c9add1..60a0e5c 100644
--- a/core/modules/system/src/Tests/Transliteration/TransliterationTest.php
+++ b/core/modules/system/src/Tests/Transliteration/TransliterationTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\Transliteration;
use Drupal\Core\Transliteration\PHPTransliteration;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests Transliteration component functionality.
*
* @group Transliteration
*/
-class TransliterationTest extends DrupalUnitTestBase {
+class TransliterationTest extends KernelTestBase {
/**
* Modules to enable.
*
diff --git a/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php b/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php
index 20ab2f2..4a2dabc 100644
--- a/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php
+++ b/core/modules/system/src/Tests/TypedData/TypedDataDefinitionTest.php
@@ -15,14 +15,14 @@ use Drupal\Core\TypedData\DataReferenceDefinitionInterface;
use Drupal\Core\TypedData\ListDataDefinition;
use Drupal\Core\TypedData\ListDataDefinitionInterface;
use Drupal\Core\TypedData\MapDataDefinition;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests deriving metadata of core data types.
*
* @group TypedData
*/
-class TypedDataDefinitionTest extends DrupalUnitTestBase {
+class TypedDataDefinitionTest extends KernelTestBase {
/**
* The typed data manager to use.
diff --git a/core/modules/system/src/Tests/TypedData/TypedDataTest.php b/core/modules/system/src/Tests/TypedData/TypedDataTest.php
index a0f7bcf..99032f4 100644
--- a/core/modules/system/src/Tests/TypedData/TypedDataTest.php
+++ b/core/modules/system/src/Tests/TypedData/TypedDataTest.php
@@ -12,7 +12,7 @@ use Drupal\Core\TypedData\DataDefinition;
use Drupal\Core\TypedData\ListDataDefinition;
use Drupal\Core\TypedData\MapDataDefinition;
use Drupal\Core\TypedData\TypedDataInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\Core\Datetime\DrupalDateTime;
/**
@@ -20,7 +20,7 @@ use Drupal\Core\Datetime\DrupalDateTime;
*
* @group TypedData
*/
-class TypedDataTest extends DrupalUnitTestBase {
+class TypedDataTest extends KernelTestBase {
/**
* The typed data manager to use.
diff --git a/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php b/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php
index e8daf60..a5242c1 100644
--- a/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php
+++ b/core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php
@@ -8,14 +8,14 @@
namespace Drupal\system\Tests\Validation;
use Drupal\Core\TypedData\DataDefinition;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests AllowedValues validation constraint with both valid and invalid values.
*
* @group Validation
*/
-class AllowedValuesConstraintValidatorTest extends DrupalUnitTestBase {
+class AllowedValuesConstraintValidatorTest extends KernelTestBase {
/**
* The typed data manager to use.
diff --git a/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php b/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php
index 993c19c..e27d97a 100644
--- a/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php
+++ b/core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php
@@ -9,7 +9,7 @@ namespace Drupal\system\Tests\Validation;
use Drupal\Core\TypedData\DataDefinition;
use Drupal\Core\TypedData\MapDataDefinition;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests ComplexData validation constraint with both valid and invalid values
@@ -17,7 +17,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group Validation
*/
-class ComplexDataConstraintValidatorTest extends DrupalUnitTestBase {
+class ComplexDataConstraintValidatorTest extends KernelTestBase {
/**
* The typed data manager to use.
diff --git a/core/modules/text/src/Tests/TextSummaryTest.php b/core/modules/text/src/Tests/TextSummaryTest.php
index 27c660f..6936114 100644
--- a/core/modules/text/src/Tests/TextSummaryTest.php
+++ b/core/modules/text/src/Tests/TextSummaryTest.php
@@ -7,14 +7,14 @@
namespace Drupal\text\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests text_summary() with different strings and lengths.
*
* @group text
*/
-class TextSummaryTest extends DrupalUnitTestBase {
+class TextSummaryTest extends KernelTestBase {
public static $modules = array('system', 'user', 'filter', 'text');
diff --git a/core/modules/tour/src/Tests/TourPluginTest.php b/core/modules/tour/src/Tests/TourPluginTest.php
index 9e0775b..8248a9d 100644
--- a/core/modules/tour/src/Tests/TourPluginTest.php
+++ b/core/modules/tour/src/Tests/TourPluginTest.php
@@ -7,14 +7,14 @@
namespace Drupal\tour\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests the functionality of tour plugins.
*
* @group tour
*/
-class TourPluginTest extends DrupalUnitTestBase {
+class TourPluginTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/user/src/Tests/UserAccountFormFieldsTest.php b/core/modules/user/src/Tests/UserAccountFormFieldsTest.php
index 747de4b..384fee3 100644
--- a/core/modules/user/src/Tests/UserAccountFormFieldsTest.php
+++ b/core/modules/user/src/Tests/UserAccountFormFieldsTest.php
@@ -8,7 +8,7 @@
namespace Drupal\user\Tests;
use Drupal\Core\Form\FormState;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Verifies that the field order in user account forms is compatible with
@@ -16,7 +16,7 @@ use Drupal\simpletest\DrupalUnitTestBase;
*
* @group user
*/
-class UserAccountFormFieldsTest extends DrupalUnitTestBase {
+class UserAccountFormFieldsTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/user/src/Tests/UserEntityTest.php b/core/modules/user/src/Tests/UserEntityTest.php
index f09d39e..b4bd6d2 100644
--- a/core/modules/user/src/Tests/UserEntityTest.php
+++ b/core/modules/user/src/Tests/UserEntityTest.php
@@ -8,7 +8,7 @@
namespace Drupal\user\Tests;
use Drupal\Core\Language\LanguageInterface;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\user\Entity\User;
/**
@@ -17,7 +17,7 @@ use Drupal\user\Entity\User;
* @group user
* @see \Drupal\user\Entity\User
*/
-class UserEntityTest extends DrupalUnitTestBase {
+class UserEntityTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/user/src/Tests/UserInstallTest.php b/core/modules/user/src/Tests/UserInstallTest.php
index 661c605..89c0680 100644
--- a/core/modules/user/src/Tests/UserInstallTest.php
+++ b/core/modules/user/src/Tests/UserInstallTest.php
@@ -7,14 +7,14 @@
namespace Drupal\user\Tests;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
/**
* Tests user_install().
*
* @group user
*/
-class UserInstallTest extends DrupalUnitTestBase {
+class UserInstallTest extends KernelTestBase {
/**
* Modules to enable.
diff --git a/core/modules/user/src/Tests/UserValidationTest.php b/core/modules/user/src/Tests/UserValidationTest.php
index 661e94a..f5ae202 100644
--- a/core/modules/user/src/Tests/UserValidationTest.php
+++ b/core/modules/user/src/Tests/UserValidationTest.php
@@ -10,7 +10,7 @@ namespace Drupal\user\Tests;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Field\Plugin\Field\FieldType\EmailItem;
use Drupal\Core\Render\Element\Email;
-use Drupal\simpletest\DrupalUnitTestBase;
+use Drupal\simpletest\KernelTestBase;
use Drupal\user\Entity\Role;
use Drupal\user\Entity\User;
@@ -19,7 +19,7 @@ use Drupal\user\Entity\User;
*
* @group user
*/
-class UserValidationTest extends DrupalUnitTestBase {
+class UserValidationTest extends KernelTestBase {
/**
* Modules to enable.