Skip to content
Commit 706ce875 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #474308 by stella: new tests for poll module. New tests:

    * that the Recent Poll block outputs the block layout rather than page layout.
    * that users can vote on polls via the block
    * that the 'older polls' link in the recent poll block works.
    * that node is output correctly, including 'Cancel your vote' button appearing
    * that only users with appropriate permission can cancel their votes
    * that the 'poll' page contains the correct data.
    * that polls can be edited
    * the opening / closing of polls - ensuring block doesn't appear when poll is closed, and neither do the 'Vote' / 'Cancel your vote' buttons, and that the poll status is updated correctly on 'poll' page.
parent 2c1bb053
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment