public function InstallTest::testInstallation in Login Destination 8
Same name and namespace in other branches
- 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\FunctionalCode
public function testInstallation() {
$this
->assertFalse($this->moduleHandler
->moduleExists('login_destination'));
$this
->assertTrue($this->moduleInstaller
->install([
'login_destination',
]));
}