diff --git a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php index 1e482b9..dd530f7 100644 --- a/core/modules/simpletest/src/Tests/KernelTestBaseTest.php +++ b/core/modules/simpletest/src/Tests/KernelTestBaseTest.php @@ -29,6 +29,7 @@ class KernelTestBaseTest extends KernelTestBase { protected function setUp() { $original_container = \Drupal::getContainer(); parent::setUp(); + $this->installSchema('system', array('router')); $this->assertNotIdentical(\Drupal::getContainer(), $original_container, 'KernelTestBase test creates a new container.'); } @@ -36,7 +37,7 @@ protected function setUp() { * Tests expected behavior of setUp(). */ function testSetUp() { - $modules = array('entity_test'); + $modules = array('entity_test', 'system'); $table = 'entity_test'; // Verify that specified $modules have been loaded. diff --git a/core/modules/user/src/Tests/Views/UserUnitTestBase.php b/core/modules/user/src/Tests/Views/UserUnitTestBase.php index 672bae7..433719f 100644 --- a/core/modules/user/src/Tests/Views/UserUnitTestBase.php +++ b/core/modules/user/src/Tests/Views/UserUnitTestBase.php @@ -49,7 +49,6 @@ protected function setUp() { ViewTestData::createTestViews(get_class($this), array('user_test_views')); $this->installEntitySchema('user'); - $this->installSchema('system', 'sequences'); $entity_manager = $this->container->get('entity.manager'); $this->roleStorage = $entity_manager->getStorage('user_role'); diff --git a/core/tests/Drupal/Tests/Core/Routing/NullRouteBuilder.php b/core/tests/Drupal/Tests/Core/Routing/NullRouteBuilder.php index 9db7e45..acc2f60 100644 --- a/core/tests/Drupal/Tests/Core/Routing/NullRouteBuilder.php +++ b/core/tests/Drupal/Tests/Core/Routing/NullRouteBuilder.php @@ -6,6 +6,9 @@ class NullRouteBuilder implements RouteBuilderInterface { + public function setRebuildNeeded() { + } + public function rebuild() { }