summaryrefslogtreecommitdiff
path: root/modules/trigger/trigger.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/trigger/trigger.test')
-rw-r--r--modules/trigger/trigger.test33
1 files changed, 0 insertions, 33 deletions
diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test
index f5a8962b6..9a9a4ba28 100644
--- a/modules/trigger/trigger.test
+++ b/modules/trigger/trigger.test
@@ -738,36 +738,3 @@ class TriggerOrphanedActionsTestCase extends DrupalWebTestCase {
$this->assertRaw(t('!post %title has been updated.', array('!post' => 'Basic page', '%title' => $edit["title"])), t('Make sure the Basic page can be updated with the missing trigger function.'));
}
}
-
-/**
- * Tests the trigger assign form.
- */
-class TriggerAssignFormTestCase extends DrupalWebTestCase {
- public static function getInfo() {
- return array(
- 'name' => 'Trigger assignment form',
- 'description' => 'Test assigning new triggers using the administration form.',
- 'group' => 'Trigger',
- );
- }
-
- function setUp() {
- parent::setUp('trigger', 'trigger_test');
- }
-
- /**
- * Tests submitting an action for a trigger with a long name.
- */
- function testLongTrigger() {
- $test_user = $this->drupalCreateUser(array('administer actions'));
- $this->drupalLogin($test_user);
- $action = 'trigger_test_generic_any_action';
- $hash = drupal_hash_base64($action);
-
- // Make sure a long hook name can be inserted.
- $edit = array('aid' => $hash);
- $this->drupalPost('admin/structure/trigger/trigger_test', $edit, t('Assign'), array(), array(), 'trigger-trigger-test-in-the-day-we-sweat-it-out-in-the-streets-of-a-runaway-american-dream-assign-form');
-
- $this->assertText(t('Generic test action for any trigger'));
- }
-}