logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 5f1f574f01ea18170a228a8cb273e143d2f05ab4
parent d536d58080d68598ca282263159f9d565a048642
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 @@ -56,11 +56,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")