1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-17 18:49:15 +00:00

WebFingerControllerTest: Restore host after test.

This commit is contained in:
Lain Soykaf 2024-05-22 18:45:34 +04:00 committed by Floatingghost
parent 3a21293970
commit 3e1f5e5372

View file

@ -51,11 +51,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")