Index: modules/trigger/trigger.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/trigger/trigger.test,v
retrieving revision 1.19
diff -r1.19 trigger.test
231a232,251
> 
>     // Assign a configurable action 'Redirect to URL' to the user trigger.
>     $this->drupalLogin($test_user);
>     $hash = md5('system_goto_action');
>     $hook = 'user_register';
>     $url = 'node';
>     $absolute_url = url($url, array('absolute' => TRUE));
>     $action_label = $this->randomName(16);
>     $edit = array(
>       'actions_label' => $action_label,
>       'url' => $url,
>     );
>     $this->drupalPost('admin/config/system/actions/configure/' . $hash, $edit, t('Save'));
>     $edit = array('aid' => md5('1'), 'hook' => $hook);
>     $this->drupalPost('admin/structure/trigger/user', $edit, t('Assign'));
> 
>     // Verify that the trigger's hook has assigned action.
>     $actions = trigger_get_assigned_actions($hook);
>     $this->assertEqual(1, count($actions), t('Action assigned'));
>    	$this->assertEqual($actions[1]->label, $action_label, t('Action label equal'));
