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
|
|
@ -81,7 +81,7 @@ defmodule Pleroma.Web.Websub.WebsubControllerTest do
|
|||
|
||||
assert response(conn, 500) == "Error"
|
||||
|
||||
assert length(Repo.all(Activity)) == 0
|
||||
assert Enum.empty?(Repo.all(Activity))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue