You are here

public function ToolbarAdminMenuTestCase::setup in Hide the Toolbar 7

File

./toolbar_admin_menu.test, line 24

Class

ToolbarAdminMenuTestCase

Code

public function setup() {
  parent::setUp(array(
    'admin_menu',
    'toolbar',
    'toolbar_admin_menu',
  ));
  $this
    ->drupalLogin($this
    ->drupalCreateUser(array(
    'access toolbar',
    'access administration menu',
  )));
}