commit: 706fc7e1ec1cf8121f3d7a05cd2cc5f0a53b120c
parent a01f0f0f032daa8acb695ba4ff5b33be8cc072dc
Author: Mark Felder <feld@feld.me>
Date: Tue, 6 Aug 2024 12:24:08 -0400
Remove unused mocks
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/test/pleroma/web/activity_pub/publisher_test.exs b/test/pleroma/web/activity_pub/publisher_test.exs
@@ -485,14 +485,6 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
{:ok, _, _, activity} = CommonAPI.follow(remote_user, user)
- mock(fn
- %{method: :post, url: "http://42.site:42/users/nick1/inbox"} ->
- {:ok, %Tesla.Env{status: 200, body: "port 42"}}
-
- %{method: :post, url: "http://42.site/users/nick1/inbox"} ->
- {:ok, %Tesla.Env{status: 200, body: "port 80"}}
- end)
-
assert_enqueued(
worker: "Pleroma.Workers.PublisherWorker",
args: %{