unnecessary mock
This commit is contained in:
parent
8fc00b7cbf
commit
7c0ed9302c
@ -649,13 +649,6 @@ defmodule Pleroma.NotificationTest do
|
|||||||
"object" => remote_user.ap_id
|
"object" => remote_user.ap_id
|
||||||
}
|
}
|
||||||
|
|
||||||
remote_user_url = remote_user.ap_id
|
|
||||||
|
|
||||||
Tesla.Mock.mock(fn
|
|
||||||
%{method: :get, url: ^remote_user_url} ->
|
|
||||||
%Tesla.Env{status: 404, body: ""}
|
|
||||||
end)
|
|
||||||
|
|
||||||
{:ok, _delete_activity} = Transmogrifier.handle_incoming(delete_user_message)
|
{:ok, _delete_activity} = Transmogrifier.handle_incoming(delete_user_message)
|
||||||
ObanHelpers.perform_all()
|
ObanHelpers.perform_all()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user