You are here

public function ToolbarAdminMenuTestCase::testToolbarAndAdminMenu in Hide the Toolbar 7

File

./toolbar_admin_menu.test, line 32

Class

ToolbarAdminMenuTestCase

Code

public function testToolbarAndAdminMenu() {

  // The admin menu is visible.
  $this
    ->assertRaw('<div id="admin-menu-wrapper">', t('The admin menu is visible.'));

  // The toolbar is not visible.
  $this
    ->assertNoRaw('<div id="toolbar" class="toolbar overlay-displace-top clearfix">', t('Toolbar is not visible.'));
}