function Upgrade6Test::setUp

Overrides MigrateUpgradeExecuteTestBase::setUp

File

core/modules/contact/tests/src/Functional/migrate_drupal_ui/d6/Upgrade6Test.php, line 42

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\contact\Functional\migrate_drupal_ui\d6

Code

protected function setUp() : void {
  parent::setUp();
  $this->loadFixture($this->getModulePath('contact') . '/tests/fixtures/drupal6.php');
  $this->expectedLoggedErrors = 12;
  // If saving the logs, then set the admin user.
  if ($this->outputLogs) {
    $this->migratedAdminUserName = 'admin';
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.