diff options
| author | Mark Felder <feld@feld.me> | 2024-07-22 19:19:21 -0400 |
|---|---|---|
| committer | Mark Felder <feld@feld.me> | 2024-07-22 19:19:21 -0400 |
| commit | 12f498bc0d996ccdacf7769d57b96b1c2ecabdb3 (patch) | |
| tree | 07b49bf61a4799f5e3b2962ace4084110b6489e2 /test | |
| parent | 3f4f567c9cbc0182eb99ec951a6088bfc5bb57d5 (diff) | |
| download | pleroma-12f498bc0d996ccdacf7769d57b96b1c2ecabdb3.tar.gz pleroma-12f498bc0d996ccdacf7769d57b96b1c2ecabdb3.zip | |
Fix order of args for show_reblogs/2
Diffstat (limited to 'test')
| -rw-r--r-- | test/pleroma/web/activity_pub/activity_pub_test.exs | 2 | ||||
| -rw-r--r-- | test/pleroma/web/common_api_test.exs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/activity_pub/activity_pub_test.exs b/test/pleroma/web/activity_pub/activity_pub_test.exs index 4ec453127..b4f6fb68a 100644 --- a/test/pleroma/web/activity_pub/activity_pub_test.exs +++ b/test/pleroma/web/activity_pub/activity_pub_test.exs @@ -1372,7 +1372,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do user = insert(:user) booster = insert(:user) {:ok, _reblog_mute} = CommonAPI.hide_reblogs(booster, user) - {:ok, _reblog_mute} = CommonAPI.show_reblogs(user, booster) + {:ok, _reblog_mute} = CommonAPI.show_reblogs(booster, user) {:ok, activity} = CommonAPI.repeat(activity.id, booster) diff --git a/test/pleroma/web/common_api_test.exs b/test/pleroma/web/common_api_test.exs index e0fb6d63d..b6fba6999 100644 --- a/test/pleroma/web/common_api_test.exs +++ b/test/pleroma/web/common_api_test.exs @@ -1411,7 +1411,7 @@ defmodule Pleroma.Web.CommonAPITest do test "remove a reblog mute", %{muter: muter, muted: muted} do {:ok, _reblog_mute} = CommonAPI.hide_reblogs(muted, muter) - {:ok, _reblog_mute} = CommonAPI.show_reblogs(muter, muted) + {:ok, _reblog_mute} = CommonAPI.show_reblogs(muted, muter) assert User.showing_reblogs?(muter, muted) == true end |
