summaryrefslogtreecommitdiff
path: root/test/web/twitter_api/twitter_api_controller_test.exs
diff options
context:
space:
mode:
authorSyldexia <syldexia@ofthewi.red>2018-05-19 13:35:49 +0100
committerSyldexia <syldexia@ofthewi.red>2018-05-19 13:35:49 +0100
commitd1366f8d46959229fdae398fe7920f6894d9d02a (patch)
tree1da157fb197b625174f5186ad5ff5a99c8116e2d /test/web/twitter_api/twitter_api_controller_test.exs
parent98b36d359a1a8c10ef9877902258d46b68331363 (diff)
downloadpleroma-d1366f8d46959229fdae398fe7920f6894d9d02a.tar.gz
pleroma-d1366f8d46959229fdae398fe7920f6894d9d02a.zip
Modified deleting an account to run as a task
Diffstat (limited to 'test/web/twitter_api/twitter_api_controller_test.exs')
-rw-r--r--test/web/twitter_api/twitter_api_controller_test.exs2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs
index 170dda145..02aba0bc8 100644
--- a/test/web/twitter_api/twitter_api_controller_test.exs
+++ b/test/web/twitter_api/twitter_api_controller_test.exs
@@ -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