logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
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:

Mtest/pleroma/web/web_finger/web_finger_controller_test.exs5-----
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")