mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
FIX: Show every voter only once. (#6746)
Each voter is represented by an object and Set does not properly check for equality.
This commit is contained in:

committed by
Régis Hanol

parent
2ee2e5c981
commit
285ff3bfbd
@ -1344,7 +1344,7 @@ test("Public poll", async assert => {
|
||||
|
||||
assert.equal(
|
||||
find(".poll-voters:first li").length,
|
||||
50,
|
||||
26,
|
||||
"it should display the right number of voters"
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user