pleroma/test
Lain Soykaf 727e9e7749
Fix votersCount inflation in multiple-choice polls
increase_vote_count/3 was incrementing votersCount on every vote
activity, causing inflation when a single voter picks multiple options.
Now only increments when the actor is a new unique voter, and preserves
existing votersCount otherwise.

Also adds is_integer guard to voters_count/1 to handle nil safely, and
adds tests for the voters_count clause ordering and edge cases.
2026-05-06 11:33:34 +04:00
..
config Load an emoji.txt specific to the test env 2021-02-03 16:40:59 -06:00
credo/check/consistency Revert "Merge branch 'copyright-bump' into 'develop'" 2023-01-02 20:38:50 +00:00
fixtures Normalize Hubzilla alsoKnownAs from string to array 2026-02-12 18:47:22 +01:00
instance_static support for special chars in pack name 2020-09-24 09:12:37 +03:00
mix Merge branch 'develop' into pleroma-database-config-whitelist 2026-03-01 22:44:08 +00:00
pleroma Fix votersCount inflation in multiple-choice polls 2026-05-06 11:33:34 +04:00
support Merge branch 'phnt/mastoapi-misattribution-3381' into release/2.10-sec 2025-12-29 09:47:54 +04:00
test_helper.exs Elixir 1.18 Deal with :warnings_as_errors deprecation in compiler_options/1 2025-05-13 14:02:47 +02:00