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