diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php index c0ce87c..118ea8b 100644 --- a/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php +++ b/core/modules/system/tests/src/Kernel/Scripts/DbDumpCommandTest.php @@ -35,7 +35,8 @@ protected function setUp() { $this->markTestSkipped("Skipping test since the DbDumpCommand is currently only compatible with MySQL"); } - $this->installSchema('system', 'router'); + // Rebuild the router to ensure a routing table. + \Drupal::service('router.builder')->rebuild(); /** @var \Drupal\Core\Database\Connection $connection */ $connection = $this->container->get('database');