function AggregatorUpdatePathTestCase::setUp
Overrides UpgradePathTestCase::setUp
File
-
modules/
simpletest/ tests/ upgrade/ update.aggregator.test, line 16
Class
- AggregatorUpdatePathTestCase
- @file Tests schema changes in aggregator.module.
Code
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',
));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.