mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 03:17:51 +00:00
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.
This commit is contained in:
parent
814a99c80f
commit
137a3d220b
1 changed files with 0 additions and 2 deletions
|
@ -898,8 +898,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do
|
||||||
|> post("/api/pleroma/delete_account", %{"password" => "test"})
|
|> post("/api/pleroma/delete_account", %{"password" => "test"})
|
||||||
|
|
||||||
assert json_response(conn, 200) == %{"status" => "success"}
|
assert json_response(conn, 200) == %{"status" => "success"}
|
||||||
# Wait a second for the started task to end
|
|
||||||
:timer.sleep(1000)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue