You are here

protected property MenuTest::$expectedResults in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/tests/src/Unit/Plugin/migrate/source/MenuTest.php \Drupal\Tests\system\Unit\Plugin\migrate\source\MenuTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/system/tests/src/Unit/Plugin/migrate/source/MenuTest.php, line 28
Contains \Drupal\Tests\system\Unit\Plugin\migrate\source\MenuTest.

Class

MenuTest
Tests menu source plugin.

Namespace

Drupal\Tests\system\Unit\Plugin\migrate\source

Code

protected $expectedResults = array(
  array(
    'menu_name' => 'menu-name-1',
    'title' => 'menu custom value 1',
    'description' => 'menu custom description value 1',
  ),
  array(
    'menu_name' => 'menu-name-2',
    'title' => 'menu custom value 2',
    'description' => 'menu custom description value 2',
  ),
);