Issue #2203115 by TravisCarden: No page title on admin/modules/uninstall.
parent
8ed94dc836
commit
bcf152b480
|
@ -40,4 +40,14 @@ class UninstallTest extends WebTestBase {
|
|||
// 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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue