You are here

protected function MigrateUpgradeEckTest::setUp in Entity Construction Kit (ECK) 8

Overrides MigrateUpgradeTestBase::setUp

File

tests/src/Functional/MigrateUpgradeEckTest.php, line 41

Class

MigrateUpgradeEckTest
Tests ECK upgrade using the migrate UI.

Namespace

Drupal\Tests\eck\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->writeSettings([
    'settings' => [
      'migrate_node_migrate_type_classic' => (object) [
        'value' => TRUE,
        'required' => TRUE,
      ],
    ],
  ]);
  $this
    ->loadFixture(drupal_get_path('module', 'eck') . '/tests/fixtures/drupal7.php');
}