summaryrefslogtreecommitdiff
path: root/test/stat_test.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-04-07 14:09:43 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-04-07 14:09:43 +0300
commit2b7d7bbd2dc3121488592a958c29ba6a418e0104 (patch)
treed4d963f9cc8afeae63a7666acab78eae8a8a8c43 /test/stat_test.exs
parentdbcfac11b45b367185a3b18a2db3e3fb07e8f20d (diff)
parent1d4ab06505ec5143dbb1d78d718fa9efd1497751 (diff)
downloadpleroma-2b7d7bbd2dc3121488592a958c29ba6a418e0104.tar.gz
pleroma-2b7d7bbd2dc3121488592a958c29ba6a418e0104.zip
Merge branch 'develop' into issue/1276
Diffstat (limited to 'test/stat_test.exs')
-rw-r--r--test/stat_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stat_test.exs b/test/stat_test.exs
index 33b77e7e7..bccc1c8d0 100644
--- a/test/stat_test.exs
+++ b/test/stat_test.exs
@@ -60,7 +60,7 @@ defmodule Pleroma.StateTest do
other_user = insert(:user)
{:ok, activity} = CommonAPI.post(user, %{"visibility" => "public", "status" => "hey"})
_ = CommonAPI.follow(user, other_user)
- CommonAPI.favorite(activity.id, other_user)
+ CommonAPI.favorite(other_user, activity.id)
CommonAPI.repeat(activity.id, other_user)
assert %{direct: 0, private: 0, public: 1, unlisted: 0} =