summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-08-26 16:30:41 +0200
committerJoas Schilling <coding@schilljs.com>2022-08-26 16:30:41 +0200
commit9ddae531db6f80df958ff9a263e08ebf3a990bf0 (patch)
treef048e2cb62c80b0f217ea96157eeff85837f0876 /tests
parent46a2326c799a5fd876bbe0c65a74a206749823f7 (diff)
Don't allow to close polls twice
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/chat/poll.feature1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/features/chat/poll.feature b/tests/integration/features/chat/poll.feature
index 46a90eb3a..d7acc1692 100644
--- a/tests/integration/features/chat/poll.feature
+++ b/tests/integration/features/chat/poll.feature
@@ -382,6 +382,7 @@ Feature: chat/poll
| actorDisplayName | participant1-displayname |
| status | closed |
| votedSelf | [0] |
+ Then user "participant1" closes poll "What is the question?" in room "room" with 400
Then user "participant1" sees the following system messages in room "room" with 200 (v1)
| room | actorType | actorId | actorDisplayName | systemMessage |
| room | users | participant1 | participant1-displayname | poll_closed |