Fix activities test

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-08 16:02:09 +01:00
parent 6a23f03b70
commit 53c8349139
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -7,7 +7,7 @@ defmodule Mobilizon.Service.CleanOldActivityTest do
alias Mobilizon.Service.CleanOldActivity alias Mobilizon.Service.CleanOldActivity
@activity_inserted_at_1 DateTime.from_iso8601("2019-01-02T10:33:39.207493Z") |> elem(1) @activity_inserted_at_1 DateTime.from_iso8601("2019-01-02T10:33:39.207493Z") |> elem(1)
@activity_inserted_at_2 DateTime.from_iso8601("2021-03-02T10:33:39.207493Z") |> elem(1) @activity_inserted_at_2 DateTime.utc_now()
setup do setup do
group1 = insert(:group) group1 = insert(:group)