You are here

public function MenuMultilingualTest::createViewsMenuItemUntranslated in Menu Multilingual 8

Returns Views Menu Items untranslated.

1 call to MenuMultilingualTest::createViewsMenuItemUntranslated()
MenuMultilingualTest::testViewsMenuItemUntranslated in tests/src/Functional/MenuMultilingualTest.php
Test for View untranslated Menu Items.

File

tests/src/Functional/MenuMultilingualTest.php, line 659

Class

MenuMultilingualTest
Class MenuMultilingualTest.

Namespace

Drupal\Tests\menu_multilingual\Functional

Code

public function createViewsMenuItemUntranslated() {
  $edit = [
    'menu[title]' => 'Views English menu item',
    'menu[type]' => 'normal',
    'menu[parent]' => 'main:',
  ];
  $this
    ->drupalGet('admin/structure/views/nojs/display/content/page_1/menu');
  $this
    ->submitForm($edit, 'Apply');
  $this
    ->drupalGet('admin/structure/views/view/content/edit/page_1');
  $this
    ->submitForm([], 'Save');
}