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
8e3d8bde
Commit
8e3d8bde
authored
Nov 18, 2018
by
lain
Browse files
Fix user deactivation test.
parent
812f5b05
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/user_test.exs
View file @
8e3d8bde
...
...
@@ -41,7 +41,7 @@ test "follow takes a user and another user" do
test
"can't follow a deactivated users"
do
user
=
insert
(
:user
)
followed
=
insert
(
:user
,
info:
%{
"
deactivated
"
=>
true
})
followed
=
insert
(
:user
,
info:
%{
deactivated
:
true
})
{
:error
,
_
}
=
User
.
follow
(
user
,
followed
)
end
...
...
Write
Preview
Supports
Markdown
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