aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-12-16 00:51:59 +0300
committerrinpatch <rinpatch@sdf.org>2019-12-16 00:51:59 +0300
commit137a3d220bba01e9cacd8007fa030c69830cc9aa (patch)
tree0ad75ab6a40d74ca145d527ecf5769466a9ab609
parent814a99c80f11835ce3fd5d75c38f418662430b04 (diff)
downloadpleroma-137a3d220bba01e9cacd8007fa030c69830cc9aa.tar.gz
tests: remove a useless 1 second sleep
there is no need to wait for the task to finish, it will be deleted when the transaction is aborted anyway.
-rw-r--r--test/web/twitter_api/util_controller_test.exs2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs
index 734cd2211..43299e147 100644
--- a/test/web/twitter_api/util_controller_test.exs
+++ b/test/web/twitter_api/util_controller_test.exs
@@ -898,8 +898,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
|> post("/api/pleroma/delete_account", %{"password" => "test"})
assert json_response(conn, 200) == %{"status" => "success"}
- # Wait a second for the started task to end
- :timer.sleep(1000)
end
end
end