From 8d4e7b32c9adc2b16eaec93f4e6d754a2ace45b3 Mon Sep 17 00:00:00 2001 From: eal Date: Mon, 20 Nov 2017 09:26:31 +0200 Subject: [PATCH] Ensure correct state in self-unfollow. --- test/user_test.exs | 1 + 1 file changed, 1 insertion(+) 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