protected function InstallationTest::uninstallModules in Video Embed Field 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/InstallationTest.php \Drupal\Tests\video_embed_field\Functional\InstallationTest::uninstallModules()
Uninstall the module using the UI.
1 call to InstallationTest::uninstallModules()
- InstallationTest::testInstallation in tests/
src/ Functional/ InstallationTest.php - Test the installation and uninstallation of the the modules.
File
- tests/
src/ Functional/ InstallationTest.php, line 55
Class
- InstallationTest
- Test the modules install and uninstall cleanly.
Namespace
Drupal\Tests\video_embed_field\FunctionalCode
protected function uninstallModules() {
$this
->drupalPostForm('admin/modules/uninstall', [
'uninstall[video_embed_wysiwyg]' => TRUE,
], 'Uninstall');
$this
->getSession()
->getPage()
->pressButton('Uninstall');
$this
->drupalPostForm('admin/modules/uninstall', [
'uninstall[video_embed_field]' => TRUE,
], 'Uninstall');
$this
->getSession()
->getPage()
->pressButton('Uninstall');
}