You are here

protected property VocabularyTest::$expectedResults in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/modules/taxonomy/tests/src/Unit/Migrate/d6/VocabularyTest.php \Drupal\Tests\taxonomy\Unit\Migrate\d6\VocabularyTest::expectedResults
  2. 8.0 core/modules/taxonomy/tests/src/Unit/Migrate/d7/VocabularyTest.php \Drupal\Tests\taxonomy\Unit\Migrate\d7\VocabularyTest::expectedResults
Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/src/Unit/Migrate/d7/VocabularyTest.php \Drupal\Tests\taxonomy\Unit\Migrate\d7\VocabularyTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/taxonomy/tests/src/Unit/Migrate/d7/VocabularyTest.php, line 28
Contains \Drupal\Tests\taxonomy\Unit\Migrate\d7\VocabularyTest.

Class

VocabularyTest
Tests D7 vocabulary source plugin.

Namespace

Drupal\Tests\taxonomy\Unit\Migrate\d7

Code

protected $expectedResults = [
  [
    'vid' => 1,
    'name' => 'Tags',
    'description' => 'Tags description.',
    'hierarchy' => 0,
    'module' => 'taxonomy',
    'weight' => 0,
    'machine_name' => 'tags',
  ],
  [
    'vid' => 2,
    'name' => 'Categories',
    'description' => 'Categories description.',
    'hierarchy' => 1,
    'module' => 'taxonomy',
    'weight' => 0,
    'machine_name' => 'categories',
  ],
];