1 upgrade.language.test public LanguageUpgradePathTestCase::setUp()

Overrides BackdropWebTestCase::setUp() for upgrade testing.

Overrides UpgradePathTestCase::setUp

See also

BackdropWebTestCase::prepareDatabasePrefix()

BackdropWebTestCase::changeDatabasePrefix()

BackdropWebTestCase::prepareEnvironment()

File

core/modules/simpletest/tests/upgrade/upgrade.language.test, line 16
Upgrade tests for the Language module.

Class

LanguageUpgradePathTestCase
Tests upgrading a filled database with language data.

Code

public function setUp() {
  // Path to the database dump files.
  $this->databaseDumpFiles = array(
    backdrop_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.filled.database.php.gz',
    backdrop_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.language.database.php',
  );
  parent::setUp();
}