aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@gmail.com>2019-04-20 19:57:43 +0700
committerRoman Chvanikov <chvanikoff@gmail.com>2019-04-20 19:57:43 +0700
commit724311e15177a1a97f533f11ff17d8d0146800ef (patch)
tree38854a450dfd3ec9802113ccc5560b06b73d7f02 /test
parent60f213bb1a6b1627cd8f6bf2903a42c3f3827f1a (diff)
downloadpleroma-724311e15177a1a97f533f11ff17d8d0146800ef.tar.gz
Fix Credo warnings
Diffstat (limited to 'test')
-rw-r--r--test/notification_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/notification_test.exs b/test/notification_test.exs
index 462398d75..3bbce8fcf 100644
--- a/test/notification_test.exs
+++ b/test/notification_test.exs
@@ -335,7 +335,7 @@ defmodule Pleroma.NotificationTest do
recent_notifications_ids =
user2
|> Notification.for_user_since(
- NaiveDateTime.add(NaiveDateTime.utc_now(), -5 * 86400, :second)
+ NaiveDateTime.add(NaiveDateTime.utc_now(), -5 * 86_400, :second)
)
|> Enum.map(& &1.id)