You are here

public function InstallTest::testInstallation in Login Destination 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/InstallTest.php \Drupal\Tests\login_destination\Functional\InstallTest::testInstallation()

Tests that the module is installable.

File

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

Class

InstallTest
Tests module installation.

Namespace

Drupal\Tests\login_destination\Functional

Code

public function testInstallation() {
  $this
    ->assertFalse($this->moduleHandler
    ->moduleExists('login_destination'));
  $this
    ->assertTrue($this->moduleInstaller
    ->install([
    'login_destination',
  ]));
}