public function InstallationTest::testInstallation in Video Embed Field 8.2
Same name and namespace in other branches
- 8 tests/src/Functional/InstallationTest.php \Drupal\Tests\video_embed_field\Functional\InstallationTest::testInstallation()
Test the installation and uninstallation of the the modules.
File
- tests/
src/ Functional/ InstallationTest.php, line 32
Class
- InstallationTest
- Test the modules install and uninstall cleanly.
Namespace
Drupal\Tests\video_embed_field\FunctionalCode
public function testInstallation() {
$this
->assertInstallationStatus(FALSE);
$this
->installModules();
$this
->assertInstallationStatus(TRUE);
$this
->uninstallModules();
$this
->assertInstallationStatus(FALSE);
$this
->installModules();
$this
->assertInstallationStatus(TRUE);
}