You are here

protected function InstallTest::reloadServices in Node Option Premium 8

Reloads services used by this test.

1 call to InstallTest::reloadServices()
InstallTest::testInstallation in tests/src/Functional/InstallTest.php
Tests that the module is installable.

File

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

Class

InstallTest
Tests module installation.

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');
}