You are here

protected property UrlAliasTest::$expectedResults in Zircon Profile 8

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

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

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

Class

UrlAliasTest
Tests the d7_url_alias source plugin.

Namespace

Drupal\Tests\path\Unit\Migrate\d7

Code

protected $expectedResults = array(
  array(
    'pid' => 1,
    'source' => 'node/1',
    'alias' => 'test-article',
    'language' => 'en',
  ),
  array(
    'pid' => 2,
    'source' => 'node/2',
    'alias' => 'another-alias',
    'language' => 'en',
  ),
);