Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
8d4e7b32
Commit
8d4e7b32
authored
Nov 20, 2017
by
eal
Browse files
Ensure correct state in self-unfollow.
parent
bd921ca5
Pipeline
#280
passed with stage
in 2 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/user_test.exs
View file @
8d4e7b32
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment