summaryrefslogtreecommitdiff
path: root/test/stat_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-04-15 19:20:34 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-04-15 19:20:34 +0300
commitbedf92e064ec96f0b9bb95c2263616a2fe49017d (patch)
treef07832cb01dcc5574c6be537c78e5e51fbb3fda6 /test/stat_test.exs
parentfc81e5a49c34224e07e85f490a30f92db0835d45 (diff)
parentb1c1d2e5e1e1c43a068a7223f9ba69c689c878a3 (diff)
downloadpleroma-bedf92e064ec96f0b9bb95c2263616a2fe49017d.tar.gz
pleroma-bedf92e064ec96f0b9bb95c2263616a2fe49017d.zip
Merge remote-tracking branch 'remotes/origin/develop' into authenticated-api-oauth-check-enforcement
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} =