You are here

constant BookTest::PLUGIN_CLASS in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/book/tests/src/Unit/Plugin/migrate/source/d6/BookTest.php \Drupal\Tests\book\Unit\Plugin\migrate\source\d6\BookTest::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/book/tests/src/Unit/Plugin/migrate/source/d6/BookTest.php, line 19
Contains \Drupal\Tests\book\Unit\Plugin\migrate\source\d6\BookTest.

Class

BookTest
@coversDefaultClass \Drupal\book\Plugin\migrate\source\d6\Book @group book

Namespace

Drupal\Tests\book\Unit\Plugin\migrate\source\d6

Code

const PLUGIN_CLASS = Book::class;