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/d7/PathRedirectTest.php, line 29
Contains \Drupal\Tests\redirect\Kernel\Migrate\d7\PathRedirectTest.

Class

PathRedirectTest
Tests the d7_path_redirect source plugin.

Namespace

Drupal\Tests\redirect\Kernel\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('redirect');
  $this
    ->loadFixture(__DIR__ . '/../../../../fixtures/drupal7.php');
  $this
    ->executeMigration('d7_path_redirect');
}