diff options
author | Mark Felder <feld@FreeBSD.org> | 2019-07-09 12:49:04 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2019-07-09 12:49:04 -0500 |
commit | 9a9b60cfbcbcdf3e48e42aa75ff530007cf03b96 (patch) | |
tree | fc28e2fb05ad0158fe881de7a49e90d941e10ad4 /test/web/websub/websub_controller_test.exs | |
parent | 9f235028569968871ef9ea933459c6e9369e737a (diff) | |
parent | e19e82975871388831fd23adc50fcaaea85ad5da (diff) | |
download | pleroma-9a9b60cfbcbcdf3e48e42aa75ff530007cf03b96.tar.gz pleroma-9a9b60cfbcbcdf3e48e42aa75ff530007cf03b96.zip |
Merge branch 'develop' into feature/allow-user-query-via-id
Diffstat (limited to 'test/web/websub/websub_controller_test.exs')
-rw-r--r-- | test/web/websub/websub_controller_test.exs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/web/websub/websub_controller_test.exs b/test/web/websub/websub_controller_test.exs index f79745d58..aa7262beb 100644 --- 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 + 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) |