forked from AkkomaGang/akkoma
make test fail everytime
This commit is contained in:
parent
712055612f
commit
e0944dee99
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@ test "gets a feed (ATOM)", %{conn: conn} 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 a new issue