Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85803831
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1004 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/test/support/helpers.ex b/test/support/helpers.ex
index 339102788..166d33c4c 100644
--- a/test/support/helpers.ex
+++ b/test/support/helpers.ex
@@ -8,8 +8,6 @@ defmodule Pleroma.Tests.Helpers do
"""
alias Pleroma.Config
- require Logger
-
@doc "Accepts two URLs/URIs and sorts the query parameters before comparing"
def uri_equal?(a, b) do
a_sorted = uri_query_sort(a)
@@ -74,8 +72,9 @@ defmodule Pleroma.Tests.Helpers do
# NOTE: `clear_config([section, key], value)` != `clear_config([section], key: value)` (!)
# Displaying a warning to prevent unintentional clearing of all but one keys in section
if Keyword.keyword?(temp_setting) and length(temp_setting) == 1 do
- Logger.warning(
- "Please change `clear_config([section], key: value)` to `clear_config([section, key], value)`"
+ IO.warn(
+ "Please change `clear_config([section], key: value)` to `clear_config([section, key], value)`",
+ __CALLER__
)
end
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Fri, Oct 9, 3:54 PM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1784778
Default Alt Text
(1004 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment