Commit 8d4e7b32 authored by eal's avatar eal
Browse files

Ensure correct state in self-unfollow.

parent bd921ca5
Pipeline #280 passed with stage
in 2 minutes and 7 seconds
......@@ -71,6 +71,7 @@ test "unfollow doesn't unfollow yourself" do
{:error, _} = User.unfollow(user, user)
user = Repo.get(User, user.id)
assert user.following == [user.ap_id]
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment