From: Alexander Strizhakov Date: Tue, 3 Mar 2020 13:46:20 +0000 (+0300) Subject: unnecessary mock X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7c0ed9302cb13ab44c1bf18017538315dcd0ce2e;p=akkoma unnecessary mock --- diff --git a/test/notification_test.exs b/test/notification_test.exs index 1c60f6866..56a581810 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -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()