protected function KernelTestBase::uninstallModule in Forms Steps 8
Uninstalls a module and refreshes services.
Parameters
string $module: The module to uninstall.
File
- tests/
src/ Kernel/ KernelTestBase.php, line 154
Class
- KernelTestBase
- Defines an abstract test base for kernel tests.
Namespace
Drupal\Tests\forms_steps\KernelCode
protected function uninstallModule($module) {
$this
->disableModules([
$module,
]);
$this
->refreshServices();
}