diff options
author | Mark Felder <feld@feld.me> | 2024-08-06 12:24:08 -0400 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-08-06 12:24:08 -0400 |
commit | 706fc7e1ec1cf8121f3d7a05cd2cc5f0a53b120c (patch) | |
tree | 643306730ad5b58d8b63fa39b3bc774cc320a129 | |
parent | a01f0f0f032daa8acb695ba4ff5b33be8cc072dc (diff) | |
download | pleroma-706fc7e1ec1cf8121f3d7a05cd2cc5f0a53b120c.tar.gz pleroma-706fc7e1ec1cf8121f3d7a05cd2cc5f0a53b120c.zip |
Remove unused mocks
-rw-r--r-- | test/pleroma/web/activity_pub/publisher_test.exs | 8 |
1 files 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 index 3d8598c5f..3acbac396 100644 --- 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: %{ |