Overrides DrupalWebTestCase::setUp() for upgrade testing.
Overrides UpgradePathTestCase::setUp
DrupalWebTestCase::prepareDatabasePrefix()
DrupalWebTestCase::changeDatabasePrefix()
DrupalWebTestCase::prepareEnvironment()
public function setUp() {
// Use the filled upgrade path and our trigger data.
$this->databaseDumpFiles = array(
drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.filled.standard_all.database.php.gz',
drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-7.trigger.database.php',
);
parent::setUp();
// Our test data includes node and comment trigger assignments.
$this
->uninstallModulesExcept(array(
'comment',
'trigger',
));
}