make test fail everytime
This commit is contained in:
parent
712055612f
commit
e0944dee99
@ -82,6 +82,10 @@ defmodule Pleroma.Web.Feed.TagControllerTest do
|
|||||||
end
|
end
|
||||||
|
|
||||||
test "gets a feed (RSS)", %{conn: conn} do
|
test "gets a feed (RSS)", %{conn: conn} do
|
||||||
|
%{microsecond: {micro, _}} = DateTime.utc_now()
|
||||||
|
micro = (micro / 1000) |> floor()
|
||||||
|
Process.sleep(950 - micro)
|
||||||
|
|
||||||
Pleroma.Config.put(
|
Pleroma.Config.put(
|
||||||
[:feed, :post_title],
|
[:feed, :post_title],
|
||||||
%{max_length: 25, omission: "..."}
|
%{max_length: 25, omission: "..."}
|
||||||
|
Loading…
Reference in New Issue
Block a user