public function BookTest::testDeprecatedPlugin in Drupal 8
@expectedDeprecation Book is deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.x. Use \Drupal\book\Plugin\migrate\source\Book instead. See https://www.drupal.org/node/2947487 for more information. @doesNotPerformAssertions
File
- core/
modules/ book/ tests/ src/ Kernel/ Plugin/ migrate/ source/ BookTest.php, line 90
Class
- BookTest
- @covers \Drupal\book\Plugin\migrate\source\Book @group book @group legacy
Namespace
Drupal\Tests\book\Kernel\Plugin\migrate\sourceCode
public function testDeprecatedPlugin() {
new D6Book([], 'd6_book', [], $this
->prophesize('Drupal\\migrate\\Plugin\\MigrationInterface')
->reveal(), $this
->prophesize('Drupal\\Core\\State\\StateInterface')
->reveal(), $this
->prophesize('Drupal\\Core\\Entity\\EntityManagerInterface')
->reveal());
}