summaryrefslogtreecommitdiff
path: root/modules/poll/poll.test
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-24 04:22:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-11-24 04:22:02 +0000
commitbd9554952c02b4ea70103a87d3b7ef51af29f9d4 (patch)
tree213e7f7231daba3286499a8d6061f11e01a894b4 /modules/poll/poll.test
parent3d1dcb496641993d2da76b70e2ffc02af41aec34 (diff)
downloadbrdo-bd9554952c02b4ea70103a87d3b7ef51af29f9d4.tar.gz
brdo-bd9554952c02b4ea70103a87d3b7ef51af29f9d4.tar.bz2
Reverting #337820 which causes menu tests to fail, unbeknownst to testing bot. Hrm...
Diffstat (limited to 'modules/poll/poll.test')
-rw-r--r--modules/poll/poll.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/poll/poll.test b/modules/poll/poll.test
index 782a4640b..6c190a4e3 100644
--- a/modules/poll/poll.test
+++ b/modules/poll/poll.test
@@ -113,7 +113,7 @@ class PollVoteTestCase extends PollTestCase {
$title = $this->randomName();
$choices = $this->_generateChoices(7);
$poll_nid = $this->pollCreate($title, $choices, FALSE);
- $this->drupalLogout();
+ $this->drupalGet('logout');
$web_user = $this->drupalCreateUser(array('cancel own vote', 'inspect all votes', 'vote on polls', 'access content'));
$this->drupalLogin($web_user);
@@ -130,3 +130,4 @@ class PollVoteTestCase extends PollTestCase {
$this->assertText($choices[0], 'Vote recorded');
}
}
+