mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-18 13:16:09 +00:00
Remove unused mocks
This commit is contained in:
parent
a01f0f0f03
commit
706fc7e1ec
1 changed files with 0 additions and 8 deletions
|
@ -485,14 +485,6 @@ defmodule Pleroma.Web.ActivityPub.PublisherTest do
|
||||||
|
|
||||||
{:ok, _, _, activity} = CommonAPI.follow(remote_user, user)
|
{: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(
|
assert_enqueued(
|
||||||
worker: "Pleroma.Workers.PublisherWorker",
|
worker: "Pleroma.Workers.PublisherWorker",
|
||||||
args: %{
|
args: %{
|
||||||
|
|
Loading…
Reference in a new issue