function MigrateImageTest::setUp

Same name in other branches
  1. 9 core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php \Drupal\Tests\image\Kernel\Migrate\d6\MigrateImageTest::setUp()
  2. 8.9.x core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php \Drupal\Tests\image\Kernel\Migrate\d6\MigrateImageTest::setUp()
  3. 11.x core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php \Drupal\Tests\image\Kernel\Migrate\d6\MigrateImageTest::setUp()

Overrides MigrateNodeTestBase::setUp

File

core/modules/image/tests/src/Kernel/Migrate/d6/MigrateImageTest.php, line 31

Class

MigrateImageTest
Image migration test.

Namespace

Drupal\Tests\image\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    $this->setUpMigratedFiles();
    $this->installSchema('file', [
        'file_usage',
    ]);
    $this->executeMigrations([
        'd6_node',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.