diff --git a/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php b/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php new file mode 100644 index 0000000000..4a957e3bca --- /dev/null +++ b/core/modules/migrate_drupal/tests/src/Kernel/IdMapTableNoDummyTest.php @@ -0,0 +1,40 @@ +pluginManager = $this->container->get('plugin.manager.migration'); + $this->pluginManager->createInstance('d6_user'); + } + + /** + * Test that dummy map tables do not exist. + */ + public function testNoDummyTables() { + $database = \Drupal::database(); + $tables = $database->schema()->findTables('%migrate_map%'); + $dummy_tables = preg_grep("/.*migrate_map_([0-9a-fA-F]){13}/", $tables); + $this->assertSame(0, count($dummy_tables)); + } + +}