aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-12-16 00:50:39 +0300
committerrinpatch <rinpatch@sdf.org>2019-12-16 00:50:39 +0300
commit814a99c80f11835ce3fd5d75c38f418662430b04 (patch)
tree978942068694abb54efe1cfcf3673fa8a2896798 /test
parentc8046e1080e613766812e89b1ed28af45580cc33 (diff)
downloadpleroma-814a99c80f11835ce3fd5d75c38f418662430b04.tar.gz
tests: remove a useless 3 second sleep
the ids favs use are accurate down to a microsecond, there is no need for it
Diffstat (limited to 'test')
-rw-r--r--test/web/activity_pub/activity_pub_test.exs3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs
index ad1fb6d02..1520c8a9b 100644
--- a/test/web/activity_pub/activity_pub_test.exs
+++ b/test/web/activity_pub/activity_pub_test.exs
@@ -1639,13 +1639,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do
{:ok, _, _} = CommonAPI.favorite(a4.id, user)
{:ok, _, _} = CommonAPI.favorite(a3.id, other_user)
- Process.sleep(1000)
{:ok, _, _} = CommonAPI.favorite(a3.id, user)
{:ok, _, _} = CommonAPI.favorite(a5.id, other_user)
- Process.sleep(1000)
{:ok, _, _} = CommonAPI.favorite(a5.id, user)
{:ok, _, _} = CommonAPI.favorite(a4.id, other_user)
- Process.sleep(1000)
{:ok, _, _} = CommonAPI.favorite(a1.id, user)
{:ok, _, _} = CommonAPI.favorite(a1.id, other_user)
result = ActivityPub.fetch_favourites(user)