projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix queue name
[akkoma]
/
test
/
web
/
ostatus
/
incoming_documents
/
delete_handling_test.exs
diff --git
a/test/web/ostatus/incoming_documents/delete_handling_test.exs
b/test/web/ostatus/incoming_documents/delete_handling_test.exs
index c8fbff6cc7741e3298185ca551d1dbee0eac1cec..d97cd79f4df10773e071bb6635887378ccc9c636 100644
(file)
--- a/
test/web/ostatus/incoming_documents/delete_handling_test.exs
+++ b/
test/web/ostatus/incoming_documents/delete_handling_test.exs
@@
-2,9
+2,16
@@
defmodule Pleroma.Web.OStatus.DeleteHandlingTest do
use Pleroma.DataCase
import Pleroma.Factory
use Pleroma.DataCase
import Pleroma.Factory
+ import Tesla.Mock
+
alias Pleroma.{Repo, Activity, Object}
alias Pleroma.Web.OStatus
alias Pleroma.{Repo, Activity, Object}
alias Pleroma.Web.OStatus
+ setup do
+ mock(fn env -> apply(HttpRequestMock, :request, [env]) end)
+ :ok
+ end
+
describe "deletions" do
test "it removes the mentioned activity" do
note = insert(:note_activity)
describe "deletions" do
test "it removes the mentioned activity" do
note = insert(:note_activity)