function ExtensionUninstallCommandTest::commandTester
Builds a command tester for the 'ex:uninstall' command.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Extension/ Command/ ExtensionUninstallCommandTest.php, line 45
Class
- ExtensionUninstallCommandTest
- Tests the 'ex:uninstall' command.
Namespace
Drupal\KernelTests\Core\Extension\CommandCode
private function commandTester() : CommandTester {
$command = new ExtensionUninstallCommand($this->container
->get('module_installer'), $this->container
->get('theme_installer'), $this->container
->get('extension.list.module'), $this->container
->get('extension.list.theme'), $this->container
->get('messenger'));
return new CommandTester($command);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.