[Credo] Fix the warnings

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-03-05 02:30:19 +01:00
parent d93ab4817b
commit 6c8743d0c0
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
3 changed files with 3 additions and 3 deletions

View file

@ -42,4 +42,4 @@ unit-testing:
analysis:
stage: analysis
script:
- mix credo list
- mix credo list --only=warnings

View file

@ -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

View file

@ -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