You are here

protected function SecurepagesTest::uninstallModule in Secure Pages 8

Uninstalls a module.

Parameters

string $module: The module name.

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

File

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

Class

SecurepagesTest
Test Secure Pages redirects.

Namespace

Drupal\securepages\Tests

Code

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