diff options
Diffstat (limited to 'modules/poll/poll.test')
-rw-r--r-- | modules/poll/poll.test | 3 |
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'); } } + |