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
2c092ed3
Commit
2c092ed3
authored
Nov 01, 2018
by
kaniini
Browse files
test: fixup test breakage caused by User.delete() harmonization
parent
21dafa7c
Pipeline
#4221
passed with stages
in 5 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/user_test.exs
View file @
2c092ed3
...
...
@@ -511,7 +511,7 @@ test ".delete deactivates a user, all follow relationships and all create activi
{
:ok
,
_
,
_
}
=
CommonAPI
.
favorite
(
activity
.
id
,
follower
)
{
:ok
,
_
,
_
}
=
CommonAPI
.
repeat
(
activity
.
id
,
follower
)
:ok
=
User
.
delete
(
user
)
{
:ok
,
_
}
=
User
.
delete
(
user
)
followed
=
Repo
.
get
(
User
,
followed
.
id
)
follower
=
Repo
.
get
(
User
,
follower
.
id
)
...
...
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