You are here

public function MmenuMenuTest::testMmenuSettingsLink in Mobile sliding menu 8

Test for a link to the mmenu settings in the Tools menu.

File

src/Tests/MMenuMenuTest.php, line 35

Class

MmenuMenuTest
Test the user-facing menus in Mmenu.

Namespace

Drupal\mmenu\Tests

Code

public function testMmenuSettingsLink() {

  // Create administrative user.
  $admin_user = $this
    ->drupalCreateUser(array(
    'access administration pages',
    'administer mmenu',
  ));
  $this
    ->drupalLogin($admin_user);
  $this
    ->drupalGet('admin/config');
  $this
    ->assertLinkByHref('admin/config/mobile/left_mmenu_settings');
}