Skip to content
Snippets Groups Projects
Commit bcf152b4 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2203115 by TravisCarden: No page title on admin/modules/uninstall.

parent 8ed94dc8
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -40,4 +40,14 @@ function testUserPermsUninstalled() { ...@@ -40,4 +40,14 @@ function testUserPermsUninstalled() {
// Are the perms defined by module_test removed? // Are the perms defined by module_test removed?
$this->assertFalse(user_roles(FALSE, 'module_test perm'), 'Permissions were all removed.'); $this->assertFalse(user_roles(FALSE, 'module_test perm'), 'Permissions were all removed.');
} }
/**
* Tests the Uninstall page.
*/
function testUninstallPage() {
$account = $this->drupalCreateUser(array('administer modules'));
$this->drupalLogin($account);
$this->drupalGet('admin/modules/uninstall');
$this->assertTitle(t('Uninstall') . ' | Drupal');
}
} }
...@@ -351,6 +351,7 @@ system.modules_uninstall: ...@@ -351,6 +351,7 @@ system.modules_uninstall:
path: '/admin/modules/uninstall' path: '/admin/modules/uninstall'
defaults: defaults:
_form: 'Drupal\system\Form\ModulesUninstallForm' _form: 'Drupal\system\Form\ModulesUninstallForm'
_title: 'Uninstall'
requirements: requirements:
_permission: 'administer modules' _permission: 'administer modules'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment