X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fstat_test.exs;h=bccc1c8d07a435bb5d2df6c07d4507a2deb80f5c;hb=aa0a4a1e78655024e992f9c677efed45593ab7b8;hp=33b77e7e72559454f89dbf019f1121aa64a48486;hpb=7605fe5065b62dcb8aaf7db07e5d168138b80d3e;p=akkoma 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} =