aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bot/tests/test_scripts/close_voting_after_last_vote.json')
-rw-r--r--bot/tests/test_scripts/close_voting_after_last_vote.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/bot/tests/test_scripts/close_voting_after_last_vote.json b/bot/tests/test_scripts/close_voting_after_last_vote.json
new file mode 100644
index 0000000..5c8e4ba
--- /dev/null
+++ b/bot/tests/test_scripts/close_voting_after_last_vote.json
@@ -0,0 +1,6 @@
+[
+["20:13:50 <x> #startvote", "Voting started\\. Available voting options are:\n0. opt1\n1. opt2\nVote #vote <option number>.\nEnd voting with #endvote."],
+["20:13:50 <x> #startvote", "Voting is already open. You can end it with #endvote."],
+["20:13:50 <x> #vote 0", "You voted for #0 - opt1"],
+["20:13:50 <z> #vote 0", "You voted for #0 - opt1. Voting closed."]
+]