Overrides DrupalWebTestCase::setUp() for upgrade testing.
Overrides UpgradePathTestCase::setUp
DrupalWebTestCase::prepareDatabasePrefix()
DrupalWebTestCase::changeDatabasePrefix()
DrupalWebTestCase::prepareEnvironment()
public function setUp() {
// Use the normal installation and add our feed data.
$path = drupal_get_path('module', 'simpletest') . '/tests/upgrade';
$this->databaseDumpFiles = array(
$path . '/drupal-7.bare.standard_all.database.php.gz',
$path . '/drupal-7.aggregator.database.php',
);
parent::setUp();
// Our test data only relies on aggregator.module.
$this
->uninstallModulesExcept(array(
'aggregator',
));
}