You are here

protected function UninstallTest::reloadServices in Node Option Premium 8

Reloads services used by this test.

1 call to UninstallTest::reloadServices()
UninstallTest::testReinstall in tests/src/Functional/UninstallTest.php
Tests that the module can be reinstalled.

File

tests/src/Functional/UninstallTest.php, line 50

Class

UninstallTest
Tests module uninstallation.

Namespace

Drupal\Tests\nopremium\Functional

Code

protected function reloadServices() {
  $this
    ->rebuildContainer();
  $this->moduleHandler = $this->container
    ->get('module_handler');
  $this->moduleInstaller = $this->container
    ->get('module_installer');
}