diff --git a/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php b/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php index 3dc6500b20..6cbe5c9128 100644 --- a/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php +++ b/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php @@ -171,6 +171,9 @@ public function testInstallInDifferentLanguage() { 'interactive' => FALSE, ] ); + + // Ensure that all the tables for this DB prefix are gone. + $this->assertCount(0, \Drupal::database()->schema()->findTables($db_prefix . '%')); } }