projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unnecessary mock
[akkoma]
/
test
/
notification_test.exs
diff --git
a/test/notification_test.exs
b/test/notification_test.exs
index 1de3c6e3bf2a8095982f4e13e34335608e44c905..56a5818103ecf7a0ecc615f1e95d9db50f580386 100644
(file)
--- a/
test/notification_test.exs
+++ b/
test/notification_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.NotificationTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.NotificationTest do
@@
-649,13
+649,6
@@
defmodule Pleroma.NotificationTest 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)
ObanHelpers.perform_all()
{:ok, _delete_activity} = Transmogrifier.handle_incoming(delete_user_message)
ObanHelpers.perform_all()