aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-tl-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@riseup.net>2024-08-22 11:17:49 +0200
committermarty hiatt <martianhiatus@riseup.net>2024-08-22 11:18:15 +0200
commit83ee88313381ef337cc663be48dd485f0d6858a1 (patch)
tree9e0eec9a3c2e26f7c9bb78e2d477e902094613c5 /test/mastodon-tl-tests.el
parent4db6e78d5858d6858631a78d786285dca18d68d9 (diff)
fix report to mods tests
Diffstat (limited to 'test/mastodon-tl-tests.el')
-rw-r--r--test/mastodon-tl-tests.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mastodon-tl-tests.el b/test/mastodon-tl-tests.el
index 6d9ab9a..4cf5382 100644
--- a/test/mastodon-tl-tests.el
+++ b/test/mastodon-tl-tests.el
@@ -1181,9 +1181,9 @@ correct value for following, as well as notifications enabled or disabled."
(stub y-or-n-p => t) ; yes to all
(mock (mastodon-tl--read-rules-ids) => '(1 2 3))
(should (equal (mastodon-tl--report-params account toot)
- '(("rule_ids[]" . 3)
+ '(("rule_ids[]" . 1)
("rule_ids[]" . 2)
- ("rule_ids[]" . 1)
+ ("rule_ids[]" . 3)
("account_id" . 42)
("comment" . "Dummy complaint")
("status_ids[]" . 61208)
@@ -1194,9 +1194,9 @@ correct value for following, as well as notifications enabled or disabled."
(should (equal
(mastodon-tl--report-build-params 42 "Dummy complaint"
61208 "true" nil '(1 2 3))
- '(("rule_ids[]" . 3)
+ '(("rule_ids[]" . 1)
("rule_ids[]" . 2)
- ("rule_ids[]" . 1)
+ ("rule_ids[]" . 3)
("account_id" . 42)
("comment" . "Dummy complaint")
("status_ids[]" . 61208)