Commit c1e10b17 authored by eme's avatar eme

Fix admin toolbar test.

parent af273e8c
......@@ -28,13 +28,13 @@ class AdminToolbarAlterTest extends WebTestBase {
* @var array
public static $modules = array('toolbar', 'admin_toolbar', 'admin_toolbar_tools');
public static $modules = array('toolbar', 'admin_toolbar');
protected function setUp() {
// Create an administrative user and log it in.
$this->adminUser = $this->drupalCreateUser(array('access toolbar', 'administer modules', 'access administration pages'));
$this->adminUser = $this->drupalCreateUser(array('access toolbar', 'access administration pages'));
......@@ -44,9 +44,8 @@ class AdminToolbarAlterTest extends WebTestBase {
function testAdminToolbar() {
// Assert that expanded links are present in HTML.
// Test with the uninstall link that must be there whatever modules exists.
// Test with the site configuration link that must be there whatever modules exists.
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