commit: 53a3176d2414bf4af523f1d9d13fc082fd23ea43
parent c42527dc2efe6d25310e44cfec7396c51ced5cec
Author: Lain Soykaf <lain@lain.com>
Date: Wed, 22 May 2024 18:45:34 +0400
WebFingerControllerTest: Restore host after test.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/test/pleroma/web/web_finger/web_finger_controller_test.exs b/test/pleroma/web/web_finger/web_finger_controller_test.exs
@@ -49,11 +49,6 @@ defmodule Pleroma.Web.WebFinger.WebFingerControllerTest do
end
test "reach user on tld, while pleroma is running on subdomain" do
- Pleroma.Web.Endpoint.config_change(
- [{Pleroma.Web.Endpoint, url: [host: "sub.example.com"]}],
- []
- )
-
clear_config([Pleroma.Web.Endpoint, :url, :host], "sub.example.com")
clear_config([Pleroma.Web.WebFinger, :domain], "example.com")