FIX: Validate poll arguments. (#6740)

* FIX: Validate number poll.
* FEATURE: Poll's min can be 0.
* FIX: Fix URL to user profile.
This commit is contained in:
Bianca Nenciu
2018-12-31 11:48:30 +02:00
committed by Régis Hanol
parent 0fca3205b5
commit e49bcebb35
6 changed files with 180 additions and 25 deletions
@@ -2023,6 +2023,8 @@ test("Public number poll", async assert => {
"it should display the right number of voters"
);
assert.ok(find(".poll-voters:first li:first a").attr("href"), "user URL exists");
await click(".poll-voters-toggle-expand:first a");
assert.equal(