1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-24 13:55:13 +01:00

make test fail everytime

This commit is contained in:
Alexander Strizhakov 2020-05-11 15:22:52 +03:00
parent 712055612f
commit e0944dee99
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -82,6 +82,10 @@ defmodule Pleroma.Web.Feed.TagControllerTest do
end
test "gets a feed (RSS)", %{conn: conn} do
%{microsecond: {micro, _}} = DateTime.utc_now()
micro = (micro / 1000) |> floor()
Process.sleep(950 - micro)
Pleroma.Config.put(
[:feed, :post_title],
%{max_length: 25, omission: "..."}