You are here

protected property UrlAliasTest::$expectedResults in Zircon Profile 8.0

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

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

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

Class

UrlAliasTest
Tests the d6_url_alias source plugin.

Namespace

Drupal\Tests\path\Unit\Migrate\d6

Code

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