You are here

constant NodeTest::PLUGIN_CLASS in Zircon Profile 8

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

Class

NodeTest
Tests D7 node source plugin.

Namespace

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

Code

const PLUGIN_CLASS = 'Drupal\\node\\Plugin\\migrate\\source\\d7\\Node';