You are here

protected function MigrateAclList68Test::setUp in ACL 8

Overrides MigrateDrupal6TestBase::setUp

File

src/Tests/Migrate/d6/MigrateAclList68Test.php, line 26

Class

MigrateAclList68Test
Tests migration of ACL columns from Drupal 6 to Drupal 8.

Namespace

Drupal\acl\Tests\Migrate\d6

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->loadFixture(__DIR__ . '/../../../../tests/fixtures/d6_d7_table.php');
  $this
    ->installSchema('acl', [
    'acl',
    'acl_user',
    'acl_node',
  ]);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->executeMigration('d6_d7_acl');
  $this
    ->executeMigration('d6_d7_acl_user');
  $this
    ->executeMigration('d6_d7_acl_node');
  $this
    ->migrateContent();
}