test: fixup test breakage caused by User.delete() harmonization

This commit is contained in:
William Pitcock 2018-11-01 08:23:49 +00:00
parent 21dafa7cd0
commit 2c092ed355

View File

@ -511,7 +511,7 @@ test ".delete deactivates a user, all follow relationships and all create activi
{:ok, _, _} = CommonAPI.favorite(activity.id, follower) {:ok, _, _} = CommonAPI.favorite(activity.id, follower)
{:ok, _, _} = CommonAPI.repeat(activity.id, follower) {:ok, _, _} = CommonAPI.repeat(activity.id, follower)
:ok = User.delete(user) {:ok, _} = User.delete(user)
followed = Repo.get(User, followed.id) followed = Repo.get(User, followed.id)
follower = Repo.get(User, follower.id) follower = Repo.get(User, follower.id)