Fix typo
This commit is contained in:
parent
4d459b0e99
commit
e2d358f1fb
@ -21,7 +21,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.ActivityExpirationPolicyTest do
|
|||||||
ActivityExpirationPolicy.filter(%{"id" => @id, "expires_at" => expires_at})
|
ActivityExpirationPolicy.filter(%{"id" => @id, "expires_at" => expires_at})
|
||||||
end
|
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)
|
too_distant_future = NaiveDateTime.utc_now() |> Timex.shift(years: 2)
|
||||||
|
|
||||||
assert {:ok, %{"expires_at" => expires_at}} =
|
assert {:ok, %{"expires_at" => expires_at}} =
|
||||||
|
Loading…
Reference in New Issue
Block a user