You are here

public function UserUpdatePathTestCase::setUp in Drupal 7

Overrides DrupalWebTestCase::setUp() for upgrade testing.

Overrides UpgradePathTestCase::setUp

See also

DrupalWebTestCase::prepareDatabasePrefix()

DrupalWebTestCase::changeDatabasePrefix()

DrupalWebTestCase::prepareEnvironment()

File

modules/simpletest/tests/upgrade/update.user.test, line 20
Provides update path tests for the User module.

Class

UserUpdatePathTestCase
Tests the User 7.0 -> 7.x update path.

Code

public function setUp() {

  // Use the filled update path and our field data.
  $this->databaseDumpFiles = array(
    drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.filled.standard_all.database.php.gz',
  );
  parent::setUp();
}