WebFingerControllerTest: Restore host after test.

This commit is contained in:
Lain Soykaf 2024-05-22 18:45:34 +04:00
parent c42527dc2e
commit 53a3176d24
1 changed files with 0 additions and 5 deletions

View File

@ -49,11 +49,6 @@ test "Webfinger JRD" do
end end
test "reach user on tld, while pleroma is running on subdomain" do 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.Endpoint, :url, :host], "sub.example.com")
clear_config([Pleroma.Web.WebFinger, :domain], "example.com") clear_config([Pleroma.Web.WebFinger, :domain], "example.com")