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
1 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,10 @@ test "gets a feed (ATOM)", %{conn: conn} 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: "..."}