test: Change lenght(…) == 0 to Enum.empty?(…)
This commit is contained in:
parent
8bb7e19b38
commit
74579115a7
5 changed files with 19 additions and 19 deletions
|
|
@ -151,7 +151,7 @@ defmodule Mix.Tasks.Pleroma.UserTest do
|
|||
assert message =~ "Successfully unsubscribed"
|
||||
|
||||
user = User.get_by_nickname(user.nickname)
|
||||
assert length(user.following) == 0
|
||||
assert Enum.empty?(user.following)
|
||||
assert user.info.deactivated
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue