protected function EntityUnitTestBase::uninstallModule in Drupal 8
Uninstalls a module and refreshes services.
Parameters
string $module: The module to uninstall.
File
- core/
modules/ system/ src/ Tests/ Entity/ EntityUnitTestBase.php, line 174
Class
- EntityUnitTestBase
- Defines an abstract test base for entity unit tests.
Namespace
Drupal\system\Tests\EntityCode
protected function uninstallModule($module) {
$this
->disableModules([
$module,
]);
$this
->refreshServices();
}