projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd921ca
)
Ensure correct state in self-unfollow.
author
eal
<eal@waifu.club>
Mon, 20 Nov 2017 07:26:31 +0000
(09:26 +0200)
committer
eal
<eal@waifu.club>
Mon, 20 Nov 2017 07:26:31 +0000
(09:26 +0200)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index 8ec23c7514ab0c62d392ec28eec88c77829743a5..31c5962e2d0f4023e2922f0d58c34d302d523a44 100644
(file)
--- 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