Modified deleting an account to run as a task

This commit is contained in:
Syldexia 2018-05-19 13:35:49 +01:00
commit d1366f8d46
2 changed files with 2 additions and 6 deletions

View file

@ -825,8 +825,6 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|> post("/api/pleroma/delete_account", %{"password" => "test"})
assert json_response(conn, 200) == %{"status" => "success"}
fetched_user = Repo.get(User, current_user.id)
assert fetched_user.info == %{"deactivated" => true}
end
end
end