protected function MigrateBookTest::setUp in Drupal 8
Same name in this branch
- 8 core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookTest::setUp()
- 8 core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d7\MigrateBookTest::setUp()
Same name and namespace in other branches
- 9 core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d7\MigrateBookTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ book/ tests/ src/ Kernel/ Migrate/ d7/ MigrateBookTest.php, line 28
Class
- MigrateBookTest
- Tests migration of book structures from Drupal 7.
Namespace
Drupal\Tests\book\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installSchema('book', [
'book',
]);
$this
->installSchema('node', [
'node_access',
]);
$this
->migrateUsers(FALSE);
$this
->migrateContentTypes();
$this
->executeMigrations([
'd7_node',
'd7_book',
]);
}