summaryrefslogtreecommitdiff
path: root/modules/poll
diff options
context:
space:
mode:
Diffstat (limited to 'modules/poll')
-rw-r--r--modules/poll/poll.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/poll/poll.test b/modules/poll/poll.test
index 6c190a4e3..782a4640b 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->drupalGet('logout');
+ $this->drupalLogout();
$web_user = $this->drupalCreateUser(array('cancel own vote', 'inspect all votes', 'vote on polls', 'access content'));
$this->drupalLogin($web_user);
@@ -130,4 +130,3 @@ class PollVoteTestCase extends PollTestCase {
$this->assertText($choices[0], 'Vote recorded');
}
}
-