This commit is contained in:
Egor Kislitsyn 2020-02-14 15:19:23 +04:00
parent 4d459b0e99
commit e2d358f1fb
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -21,7 +21,7 @@ test "keeps existing `expires_at` if it less than the config setting" do
ActivityExpirationPolicy.filter(%{"id" => @id, "expires_at" => expires_at})
end
test "owerwrites existing `expires_at` if it greater than the config setting" do
test "overwrites existing `expires_at` if it greater than the config setting" do
too_distant_future = NaiveDateTime.utc_now() |> Timex.shift(years: 2)
assert {:ok, %{"expires_at" => expires_at}} =