aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-05-11 15:22:52 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-05-13 11:38:22 +0300
commite0944dee993eec88f678e98de9382af82ca5a77a (patch)
treebc8f001e811ea24dacd618563f8cadd504a9bcab /test
parent712055612f2696b2677f830be154e18f2396223d (diff)
downloadpleroma-e0944dee993eec88f678e98de9382af82ca5a77a.tar.gz
make test fail everytime
Diffstat (limited to 'test')
-rw-r--r--test/web/feed/tag_controller_test.exs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/web/feed/tag_controller_test.exs b/test/web/feed/tag_controller_test.exs
index d95aac108..d726300a9 100644
--- a/test/web/feed/tag_controller_test.exs
+++ b/test/web/feed/tag_controller_test.exs
@@ -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: "..."}