function DevelReinstallCommandTest::testNotInstalled
A module that is not installed is an error.
File
-
tests/
src/ Kernel/ DevelReinstallCommandTest.php, line 52
Class
- DevelReinstallCommandTest
- Tests the devel:reinstall command.
Namespace
Drupal\Tests\devel\KernelCode
public function testNotInstalled() : void {
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('Not installed: no_such_module');
$this->runCommand('system,no_such_module');
}