public function UninstallTest::testUninstall in Login Destination 8.2
Same name and namespace in other branches
- 8 tests/src/Functional/UninstallTest.php \Drupal\Tests\login_destination\Functional\UninstallTest::testUninstall()
Tests module uninstallation.
File
- tests/
src/ Functional/ UninstallTest.php, line 22
Class
- UninstallTest
- Tests module uninstallation.
Namespace
Drupal\Tests\login_destination\FunctionalCode
public function testUninstall() {
// Confirm that Login Destination has been installed.
$module_handler = $this->container
->get('module_handler');
$this
->assertTrue($module_handler
->moduleExists('login_destination'));
// Uninstall Login Destination.
$this
->assertTrue($this->container
->get('module_installer')
->uninstall([
'login_destination',
]));
}