summaryrefslogtreecommitdiff
path: root/modules/poll/poll.test
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-01 06:48:15 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-01 06:48:15 +0000
commit5e2ad8e43cc6e5aad12a5b4be3d310477498d3b4 (patch)
treee56890eb11e3920e05d0cd97348e462b8ab499b9 /modules/poll/poll.test
parentf12b1b637f748051c1fd9e260881208092bf913b (diff)
downloadbrdo-5e2ad8e43cc6e5aad12a5b4be3d310477498d3b4.tar.gz
brdo-5e2ad8e43cc6e5aad12a5b4be3d310477498d3b4.tar.bz2
#360128 by quicksketch: Create centralized ahah callback to reduce duplicate code.
Diffstat (limited to 'modules/poll/poll.test')
-rw-r--r--modules/poll/poll.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/poll/poll.test b/modules/poll/poll.test
index db30e2038..15e3a454f 100644
--- a/modules/poll/poll.test
+++ b/modules/poll/poll.test
@@ -187,7 +187,7 @@ class PollJSAddChoice extends DrupalWebTestCase {
// @TODO: the framework should make it possible to submit a form to a
// different URL than its action or the current. For now, we can just force
// it.
- $this->additionalCurlOptions[CURLOPT_URL] = url('poll/js', array('absolute' => TRUE));
+ $this->additionalCurlOptions[CURLOPT_URL] = url('system/ahah', array('absolute' => TRUE));
$this->drupalPost(NULL, $edit, t('More choices'));
unset($this->additionalCurlOptions[CURLOPT_URL]);