mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 19:29:11 +00:00
Ensure correct state in self-unfollow.
This commit is contained in:
parent
bd921ca5d7
commit
8d4e7b32c9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue