3 namespace Drupal\Tests\book\Kernel\Plugin\migrate\source\d6;
5 use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
8 * @covers \Drupal\book\Plugin\migrate\source\d6\Book
11 class BookTest extends MigrateSqlSourceTestBase {
16 public static $modules = ['book', 'migrate_drupal', 'node'];
21 public function providerSource() {
25 $tests[0]['source_data']['book'] = [
32 $tests[0]['source_data']['menu_links'] = [
34 'menu_name' => 'book-toc-1',
37 'link_path' => 'node/4',
38 'router_path' => 'node/%',
39 'link_title' => 'Test top book title',
40 'options' => 'a:0:{}',
44 'has_children' => '1',
62 // The expected results.
63 $tests[0]['expected_data'] = [