From: eal Date: Mon, 20 Nov 2017 07:26:31 +0000 (+0200) Subject: Ensure correct state in self-unfollow. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8d4e7b32c9adc2b16eaec93f4e6d754a2ace45b3;p=akkoma Ensure correct state in self-unfollow. --- diff --git a/test/user_test.exs b/test/user_test.exs index 8ec23c751..31c5962e2 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -71,6 +71,7 @@ defmodule Pleroma.UserTest do {:error, _} = User.unfollow(user, user) + user = Repo.get(User, user.id) assert user.following == [user.ap_id] end