public function SimpleNewsUpgradePath61TestCase::setUp in Simplenews 7
Same name and namespace in other branches
- 7.2 tests/simplenews.test \SimpleNewsUpgradePath61TestCase::setUp()
Overrides DrupalWebTestCase::setUp() for upgrade testing.
Overrides SimpleNewsUpgradePathTestCase::setUp
See also
DrupalWebTestCase::prepareDatabasePrefix()
DrupalWebTestCase::changeDatabasePrefix()
DrupalWebTestCase::prepareEnvironment()
File
- tests/
simplenews.test, line 1972 - Simplenews test functions.
Class
- SimpleNewsUpgradePath61TestCase
- Upgrade test from 6.x-1.x
Code
public function setUp() {
// Path to the database dump files.
$this->databaseDumpFiles = array(
drupal_get_path('module', 'simplenews') . '/tests/d6_simplenews_61.php',
);
parent::setUp();
}