Commit 137a3d22 authored by rinpatch's avatar rinpatch

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.
parent 814a99c8
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment