public function FieldUpgradePathTest::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/FieldUpgradePathTest.php, line 24
Contains \Drupal\system\Tests\Upgrade\FieldUpgradePathTest.

Class

FieldUpgradePathTest
Tests upgrade of system variables.

Namespace

Drupal\system\Tests\Upgrade

Code

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