You are here

protected function PathRedirectTest::setUp in Redirect 8

Same name in this branch
  1. 8 tests/src/Kernel/Migrate/d6/PathRedirectTest.php \Drupal\Tests\redirect\Kernel\Migrate\d6\PathRedirectTest::setUp()
  2. 8 tests/src/Kernel/Migrate/d7/PathRedirectTest.php \Drupal\Tests\redirect\Kernel\Migrate\d7\PathRedirectTest::setUp()

Overrides MigrateDrupalTestBase::setUp

File

tests/src/Kernel/Migrate/d6/PathRedirectTest.php, line 24

Class

PathRedirectTest
Tests the d6_path_redirect source plugin.

Namespace

Drupal\Tests\redirect\Kernel\Migrate\d6

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('redirect');
  $this
    ->loadFixture(__DIR__ . '/../../../../../tests/fixtures/drupal6.php');
  $this
    ->executeMigrations([
    'd6_path_redirect',
  ]);
}