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
1 changed files with 0 additions and 7 deletions

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()