X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fnotification_test.exs;h=56a5818103ecf7a0ecc615f1e95d9db50f580386;hb=7c0ed9302cb13ab44c1bf18017538315dcd0ce2e;hp=1de3c6e3bf2a8095982f4e13e34335608e44c905;hpb=d9e4b77f8be8249b428a7ef1448c9a2161dee88a;p=akkoma
diff --git a/test/notification_test.exs b/test/notification_test.exs
index 1de3c6e3b..56a581810 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.NotificationTest do
@@ -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()