fix: credo error
This commit is contained in:
parent
b4adf63e83
commit
9b314a9806
3 changed files with 1 additions and 14 deletions
|
|
@ -244,7 +244,7 @@ defmodule MvWeb.UserLive.IndexTest do
|
|||
|> Enum.uniq()
|
||||
|
||||
# Skip if no users found (shouldn't happen, but be safe)
|
||||
if length(user_ids) > 0 do
|
||||
if user_ids != [] do
|
||||
# Initially nothing should be checked
|
||||
refute view
|
||||
|> element("input[type='checkbox'][name='select_all'][checked]")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue