Skip to content
Snippets Groups Projects
Commit b8ca9f84 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Cannot be uninstalled if the filter format is there

parent 5a44d33b
No related branches found
No related tags found
No related merge requests found
Pipeline #137318 passed with warnings
...@@ -49,10 +49,11 @@ class PhpUninstallTest extends BrowserTestBase { ...@@ -49,10 +49,11 @@ class PhpUninstallTest extends BrowserTestBase {
$edit = []; $edit = [];
$edit['uninstall[php]'] = TRUE; $edit['uninstall[php]'] = TRUE;
$this->drupalGet('admin/modules/uninstall'); $this->drupalGet('admin/modules/uninstall');
$this->submitForm($edit, 'Uninstall'); $this->assertSession()->pageTextContains('Provides a filter plugin that is in use in the following filter formats: PHP code');
$this->assertSession()->pageTextContains(t('Would you like to continue with uninstalling the above?')); /*$this->submitForm($edit, 'Uninstall');
$this->assertSession()->pageTextContains('Would you like to continue with uninstalling the above?');
$this->submitForm([], 'Uninstall'); $this->submitForm([], 'Uninstall');
$this->assertSession()->pageTextContains(t('The selected modules have been uninstalled.')); $this->assertSession()->pageTextContains('The selected modules have been uninstalled.');*/
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment