You are here

constant UserTest::PLUGIN_CLASS in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/modules/user/tests/src/Unit/Migrate/d6/UserTest.php \Drupal\Tests\user\Unit\Migrate\d6\UserTest::PLUGIN_CLASS
  2. 8.0 core/modules/user/tests/src/Unit/Plugin/migrate/source/d7/UserTest.php \Drupal\Tests\user\Unit\Plugin\migrate\source\d7\UserTest::PLUGIN_CLASS
Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Unit/Plugin/migrate/source/d7/UserTest.php \Drupal\Tests\user\Unit\Plugin\migrate\source\d7\UserTest::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/user/tests/src/Unit/Plugin/migrate/source/d7/UserTest.php, line 19
Contains \Drupal\Tests\user\Unit\Plugin\migrate\source\d7\UserTest.

Class

UserTest
Tests D7 user source plugin.

Namespace

Drupal\Tests\user\Unit\Plugin\migrate\source\d7

Code

const PLUGIN_CLASS = 'Drupal\\user\\Plugin\\migrate\\source\\d7\\User';