You are here

protected function MigrateIp2CountryUserDataTest::setUp in IP-based Determination of a Visitor's Country 8

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

Overrides MigrateDrupal6TestBase::setUp

File

tests/src/Kernel/Migrate/d6/MigrateIp2CountryUserDataTest.php, line 29

Class

MigrateIp2CountryUserDataTest
Tests migration of Ip2Country {user}.data into {user_data}.

Namespace

Drupal\Tests\ip2country\Kernel\Migrate\d6

Code

protected function setUp() {
  parent::setUp();

  // Need to migrate users, but don't need pictures.
  $this
    ->migrateUsers(FALSE);
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->executeMigration('d6_ip2country_user_data');
}