7 upgrade path. */ class UpgradePathTriggerTestCase extends UpgradePathTestCase { public static function getInfo() { return array( 'name' => 'Trigger upgrade path', 'description' => 'Trigger upgrade path tests for Drupal 6.x.', 'group' => 'Upgrade path', ); } public function setUp() { // Path to the database dump. $this->databaseDumpFiles = array( drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.filled.database.php', drupal_get_path('module', 'simpletest') . '/tests/upgrade/drupal-6.trigger.database.php', ); parent::setUp(); } /** * Basic tests for the trigger upgrade. */ public function testTaxonomyUpgrade() { $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); $this->drupalGet('admin/structure/trigger/node'); $this->assertRaw(''. t('Make post sticky') .''); $this->assertRaw(''. t('Publish post') .''); $this->drupalGet('admin/structure/trigger/comment'); $this->assertRaw(''. t('Publish comment') .''); } }