X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fstat_test.exs;h=bccc1c8d07a435bb5d2df6c07d4507a2deb80f5c;hb=bedc558809832ce6ef6063fe91656a0fff0e222c;hp=1f0c6199ab984d601085c9b69ec78d6bac12dd6e;hpb=10f452ad1feae9a882b6dc4cd35e09adb7e78208;p=akkoma diff --git a/test/stat_test.exs b/test/stat_test.exs index 1f0c6199a..bccc1c8d0 100644 --- a/test/stat_test.exs +++ b/test/stat_test.exs @@ -1,5 +1,5 @@ # Pleroma: A lightweight social networking server -# Copyright © 2017-2019 Pleroma Authors +# Copyright © 2017-2020 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.StateTest do @@ -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} =