summaryrefslogtreecommitdiff
path: root/test/stat_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-10 14:18:57 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-04-10 14:18:57 +0400
commitcf2a0574e77ed207453215ae83377a3eb8f2fa0c (patch)
treefdc89909325238b71c8fc07a63d8720e432434c4 /test/stat_test.exs
parent4a2538967caf5b0f9970cc5f973c16ea5d776aa3 (diff)
parentce089615e1e89fbb63b0c0548906f3b6c22abac2 (diff)
downloadpleroma-cf2a0574e77ed207453215ae83377a3eb8f2fa0c.tar.gz
pleroma-cf2a0574e77ed207453215ae83377a3eb8f2fa0c.zip
Merge branch 'develop' into fix/support-conversations-pagination
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} =