You are here

protected property VocabularyTest::$expectedResults in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/taxonomy/tests/src/Unit/Migrate/d6/VocabularyTest.php \Drupal\Tests\taxonomy\Unit\Migrate\d6\VocabularyTest::expectedResults
  2. 8 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.0 core/modules/taxonomy/tests/src/Unit/Migrate/d6/VocabularyTest.php \Drupal\Tests\taxonomy\Unit\Migrate\d6\VocabularyTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

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

Class

VocabularyTest
Tests D6 vocabulary source plugin.

Namespace

Drupal\Tests\taxonomy\Unit\Migrate\d6

Code

protected $expectedResults = [
  [
    'vid' => 1,
    'name' => 'Tags',
    'description' => 'Tags description.',
    'help' => 1,
    'relations' => 0,
    'hierarchy' => 0,
    'multiple' => 0,
    'required' => 0,
    'tags' => 1,
    'module' => 'taxonomy',
    'weight' => 0,
    'node_types' => [
      'page',
      'article',
    ],
  ],
  [
    'vid' => 2,
    'name' => 'Categories',
    'description' => 'Categories description.',
    'help' => 1,
    'relations' => 1,
    'hierarchy' => 1,
    'multiple' => 0,
    'required' => 1,
    'tags' => 0,
    'module' => 'taxonomy',
    'weight' => 0,
    'node_types' => [
      'article',
    ],
  ],
];