Commit c2b76ff3 authored by Stephane Glondu's avatar Stephane Glondu Committed by Stéphane Glondu

Fix tests (voting after the election is closed)

parent 2241dd6f
Pipeline #106294 passed with stages
in 23 minutes and 50 seconds
...@@ -292,8 +292,7 @@ pris en compte. ...@@ -292,8 +292,7 @@ pris en compte.
browser = self.browser browser = self.browser
if direct: if direct:
url = voter["election_page_url"] browser.get(settings.SERVER_URL + "/vote.html#" + urlencode({"uuid": self.election_id}))
browser.get(settings.SERVER_URL + "/vote.html#" + urlencode({"url": url}))
else: else:
# Bob has received 2 emails containing an invitation to vote and all necessary credentials (election page URL, username, password). He goes to the election page URL. # Bob has received 2 emails containing an invitation to vote and all necessary credentials (election page URL, username, password). He goes to the election page URL.
......
Markdown is supported
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