function TriggerUpdatePathTestCase::setUp
Overrides UpgradePathTestCase::setUp
File
-
modules/
simpletest/ tests/ upgrade/ update.trigger.test, line 19
Class
- TriggerUpdatePathTestCase
- Tests the Trigger 7.0 -> 7.x upgrade path.
Code
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',
));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.