aboutsummaryrefslogtreecommitdiff
path: root/test/stat_test.exs
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-03-19 18:00:55 +0100
committerlain <lain@soykaf.club>2020-03-19 18:00:55 +0100
commit3c2c32b460c2d942d085725d14e77a96c4a01e4c (patch)
tree1542ba8f33738650c561a1f944ae7ce9e16dd116 /test/stat_test.exs
parentac5c2b66b9f106bad117708cf74e3007c434d09e (diff)
parentd4bafabfd14887e61eb5bc1d877035dcfebbd33f (diff)
downloadpleroma-3c2c32b460c2d942d085725d14e77a96c4a01e4c.tar.gz
Merge branch 'remake-remodel' into develop
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} =