diff --git a/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php b/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php index c356efb94b..197e3477ea 100644 --- a/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php +++ b/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScriptTest.php @@ -11,8 +11,7 @@ /** * Tests setup-drupal-test.php. * - * @group Commands - * @group core + * @group Setup * * @todo Move this to the \Drupal\KernelTests\Setup\Commands\ namespace after * https://www.drupal.org/project/drupal/issues/2878269 @@ -40,7 +39,7 @@ public function testInstallScript() { $app_tester->run( [ 'command' => 'setup-drupal-test', - '--setup_file' => __DIR__ . '/SetupDrupalTestScript.php', + '--setup_file' => __DIR__ . '/../../../Setup/SetupDrupalTestScript.php', ], [ 'interactive' => FALSE, diff --git a/core/tests/Drupal/Setup/ExampleTestSetup.php b/core/tests/Drupal/Setup/ExampleTestSetup.php deleted file mode 100644 index ed94c18778..0000000000 --- a/core/tests/Drupal/Setup/ExampleTestSetup.php +++ /dev/null @@ -1,22 +0,0 @@ -install(['node']); - - Node::create(['type' => 'page', 'title' => 'Test tile']) - ->save(); - } - -} diff --git a/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScript.php b/core/tests/Drupal/Setup/SetupDrupalTestScript.php similarity index 73% rename from core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScript.php rename to core/tests/Drupal/Setup/SetupDrupalTestScript.php index e7b26d784f..707e3a5ded 100644 --- a/core/tests/Drupal/KernelTests/Setup/Commands/SetupDrupalTestScript.php +++ b/core/tests/Drupal/Setup/SetupDrupalTestScript.php @@ -1,8 +1,6 @@ install(['my_module']) * @endcode * - * Check out 'core/tests/Drupal/Setup/ExampleTestSetup.php' for an example. + * Check out 'core/tests/Drupal/Setup/SetupDrupalTestScript.php' for an example. */ public function setup();