projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'domain-blocking-relationship-api' into 'develop'
[akkoma]
/
test
/
web
/
websub
/
websub_controller_test.exs
diff --git
a/test/web/websub/websub_controller_test.exs
b/test/web/websub/websub_controller_test.exs
index f79745d58ce340dd0691beafe84bf5f033e05d34..aa7262beb1eb3c6d2a0cec2dabdead769e2523c2 100644
(file)
--- a/
test/web/websub/websub_controller_test.exs
+++ b/
test/web/websub/websub_controller_test.exs
@@
-9,6
+9,16
@@
defmodule Pleroma.Web.Websub.WebsubControllerTest do
alias Pleroma.Web.Websub
alias Pleroma.Web.Websub.WebsubClientSubscription
alias Pleroma.Web.Websub
alias Pleroma.Web.Websub.WebsubClientSubscription
+ setup_all do
+ config_path = [:instance, :federating]
+ initial_setting = Pleroma.Config.get(config_path)
+
+ Pleroma.Config.put(config_path, true)
+ on_exit(fn -> Pleroma.Config.put(config_path, initial_setting) end)
+
+ :ok
+ end
+
test "websub subscription request", %{conn: conn} do
user = insert(:user)
test "websub subscription request", %{conn: conn} do
user = insert(:user)