12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- class TriggerUpdatePathTestCase extends UpdatePathTestCase {
- public static function getInfo() {
- return array(
- 'name' => 'Trigger update path',
- 'description' => 'Trigger update path tests.',
- 'group' => 'Upgrade path',
- );
- }
- public function setUp() {
-
- $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();
-
- $this->uninstallModulesExcept(array('comment', 'trigger'));
- }
-
- public function testFilledUpgrade() {
- $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
- }
- }
|