Commit bcf152b4 authored by webchick's avatar webchick

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

parent 8ed94dc8
......@@ -40,4 +40,14 @@ function testUserPermsUninstalled() {
// Are the perms defined by module_test 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:
path: '/admin/modules/uninstall'
defaults:
_form: 'Drupal\system\Form\ModulesUninstallForm'
_title: 'Uninstall'
requirements:
_permission: 'administer modules'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment