Improve design so existing tests do not break

This commit is contained in:
Mark Felder 2025-07-30 13:17:50 -07:00
commit 4217ababfc
3 changed files with 28 additions and 14 deletions

View file

@ -72,6 +72,8 @@ defmodule Pleroma.HTTPTest do
end
test "URL encoding properly encodes URLs with spaces" do
clear_config(:test_url_encoding, true)
url_with_space = "https://tsundere.love/emoji/Pack 1/koronebless.png"
result = HTTP.get(url_with_space)