MigrateAclList68Test.php in ACL 8
File
src/Tests/Migrate/d6/MigrateAclList68Test.php
View source
<?php
namespace Drupal\acl\Tests\Migrate\d6;
use Drupal\acl\Tests\AclMigrationTestTrait;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
class MigrateAclList68Test extends MigrateDrupal6TestBase {
use AclMigrationTestTrait;
public static $modules = [
'migrate_drupal',
'node',
'menu_ui',
'acl',
'acl_node_test',
];
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();
}
}