Verified Commit 6c8743d0 authored by Haelwenn's avatar Haelwenn
Browse files

[Credo] Fix the warnings

parent d93ab481
......@@ -42,4 +42,4 @@ unit-testing:
analysis:
stage: analysis
script:
- mix credo list
- mix credo list --only=warnings
......@@ -24,7 +24,7 @@ defmodule Pleroma.Web.Federator do
def init() do
# 1 minute
Process.sleep(1000 * 60 * 1)
Process.sleep(1000 * 60)
refresh_subscriptions()
end
......
......@@ -490,7 +490,7 @@ test "does not show DMs in mentions timeline", %{conn: conn, user: current_user}
response = json_response(conn, 200)
assert length(response) == 0
assert Enum.empty?(response)
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment