function DevelReinstallCommandTest::testRequired

A module that cannot be uninstalled is an error.

File

tests/src/Kernel/DevelReinstallCommandTest.php, line 61

Class

DevelReinstallCommandTest
Tests the devel:reinstall command.

Namespace

Drupal\Tests\devel\Kernel

Code

public function testRequired() : void {
  $this->expectException(\RuntimeException::class);
  $this->expectExceptionMessage('Unable to uninstall.');
  $this->runCommand('system');
}