diff --git a/core/modules/link/src/Tests/LinkItemTest.php b/core/modules/link/src/Tests/LinkItemTest.php index 017c83e..b39d4be 100644 --- a/core/modules/link/src/Tests/LinkItemTest.php +++ b/core/modules/link/src/Tests/LinkItemTest.php @@ -28,7 +28,6 @@ class LinkItemTest extends FieldUnitTestBase { protected function setUp() { parent::setUp(); - $this->installSchema('system', ['router']); // Create a link field for validation. entity_create('field_storage_config', array( diff --git a/core/modules/system/src/Tests/Theme/RegistryTest.php b/core/modules/system/src/Tests/Theme/RegistryTest.php index 8b6cb0a..bcb4f77 100644 --- a/core/modules/system/src/Tests/Theme/RegistryTest.php +++ b/core/modules/system/src/Tests/Theme/RegistryTest.php @@ -23,9 +23,19 @@ class RegistryTest extends KernelTestBase { * * @var array */ - public static $modules = array('theme_test'); + public static $modules = array('theme_test', 'system'); protected $profile = 'testing'; + + /** + * {@inheritdoc} + */ + protected function setUp() { + parent::setUp(); + + $this->installSchema('system', ['router']); + } + /** * Tests the behavior of the theme registry class. */