unnecessary mock

This commit is contained in:
Alexander Strizhakov 2020-03-03 16:46:20 +03:00
parent 8fc00b7cbf
commit 7c0ed9302c
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -649,13 +649,6 @@ defmodule Pleroma.NotificationTest do
"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)
ObanHelpers.perform_all()