You are here

protected function SecurepagesTest::installModule in Secure Pages 8

Installs a module.

Parameters

string $module: The module name.

1 call to SecurepagesTest::installModule()
SecurepagesTest::_testCachedResponse in src/Tests/SecurepagesTest.php

File

src/Tests/SecurepagesTest.php, line 414
Contains \Drupal\securepages\Tests\SecurepagesTest.

Class

SecurepagesTest
Test Secure Pages redirects.

Namespace

Drupal\securepages\Tests

Code

protected function installModule($module) {
  $this->container
    ->get('module_installer')
    ->install(array(
    $module,
  ));
  $this->container = \Drupal::getContainer();
}