You are here

protected function KernelTestBase::installModule in Forms Steps 8

Installs a module and refreshes services.

Parameters

string $module: The module to install.

File

tests/src/Kernel/KernelTestBase.php, line 143

Class

KernelTestBase
Defines an abstract test base for kernel tests.

Namespace

Drupal\Tests\forms_steps\Kernel

Code

protected function installModule($module) {
  $this
    ->enableModules([
    $module,
  ]);
  $this
    ->refreshServices();
}