You are here

constant UrlAliasTest::PLUGIN_CLASS 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::PLUGIN_CLASS
  2. 8 core/modules/path/tests/src/Unit/Migrate/d7/UrlAliasTest.php \Drupal\Tests\path\Unit\Migrate\d7\UrlAliasTest::PLUGIN_CLASS
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::PLUGIN_CLASS

The plugin class under test.

The plugin system is not working during unit testing so the source plugin class needs to be manually specified.

Overrides MigrateSqlSourceTestCase::PLUGIN_CLASS

File

core/modules/path/tests/src/Unit/Migrate/d7/UrlAliasTest.php, line 19
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

const PLUGIN_CLASS = 'Drupal\\path\\Plugin\\migrate\\source\\d7\\UrlAlias';