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

8.0.x
webchick 2014-02-24 14:43:02 -08:00
parent 8ed94dc836
commit bcf152b480
2 changed files with 11 additions and 0 deletions

View File

@ -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');
}
}

View File

@ -351,6 +351,7 @@ system.modules_uninstall:
path: '/admin/modules/uninstall'
defaults:
_form: 'Drupal\system\Form\ModulesUninstallForm'
_title: 'Uninstall'
requirements:
_permission: 'administer modules'