projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Capitalize "tombstone"
[akkoma]
/
test
/
web
/
activity_pub
/
activity_pub_controller_test.exs
diff --git
a/test/web/activity_pub/activity_pub_controller_test.exs
b/test/web/activity_pub/activity_pub_controller_test.exs
index b4af2df5ae8c7ce183c9da3eb49ef28ed086f176..faeace0160022167c2efb69e4e3ca69a428a44fa 100644
(file)
--- a/
test/web/activity_pub/activity_pub_controller_test.exs
+++ b/
test/web/activity_pub/activity_pub_controller_test.exs
@@
-23,10
+23,10
@@
defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
test "with the relay disabled, it returns 404", %{conn: conn} do
Pleroma.Config.put([:instance, :allow_relay], false)
test "with the relay disabled, it returns 404", %{conn: conn} do
Pleroma.Config.put([:instance, :allow_relay], false)
- res =
- conn
-
|> get(activity_pub_path(conn, :relay)
)
- |> json_response(404)
+ conn
+ |> get(activity_pub_path(conn, :relay))
+
|> json_response(404
)
+ |> assert
Pleroma.Config.put([:instance, :allow_relay], true)
end
Pleroma.Config.put([:instance, :allow_relay], true)
end