forked from AkkomaGang/akkoma
unnecessary mock
This commit is contained in:
parent
8fc00b7cbf
commit
7c0ed9302c
1 changed files with 0 additions and 7 deletions
|
@ -649,13 +649,6 @@ test "notifications are deleted if a remote user is deleted" 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 a new issue