public function ModulesDisabledUpgradePathTest::setUp

Overrides Drupal\simpletest\WebTestBase::setUp() for upgrade testing.

Overrides UpgradePathTestBase::setUp

See also

Drupal\simpletest\WebTestBase::prepareDatabasePrefix()

Drupal\simpletest\WebTestBase::changeDatabasePrefix()

Drupal\simpletest\WebTestBase::prepareEnvironment()

File

drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/ModulesDisabledUpgradePathTest.php, line 25
Definition of Drupal\system\Tests\Upgrade\ModulesDisabledUpgradePathTest.

Class

ModulesDisabledUpgradePathTest
Tests upgrading with all non-required modules installed but disabled.

Namespace

Drupal\system\Tests\Upgrade

Code

public function setUp() {
  $this->databaseDumpFiles = array(
    drupal_get_path('module', 'system') . '/tests/upgrade/drupal-7.filled.standard_all.database.php.gz',
    drupal_get_path('module', 'system') . '/tests/upgrade/drupal-7.all-disabled.database.php',
  );
  parent::setUp();
}