fix: prefix unused view variable with underscore
Fix compiler warning for unused variable in role_live_test.exs
This commit is contained in:
parent
8820ce6429
commit
8b43e121c1
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ defmodule MvWeb.RoleLiveTest do
|
|||
|> Ash.Changeset.force_change_attribute(:is_system_role, true)
|
||||
|> Ash.create!()
|
||||
|
||||
{:ok, view, html} = live(conn, "/admin/roles")
|
||||
{:ok, _view, html} = live(conn, "/admin/roles")
|
||||
|
||||
# System role delete button should be disabled
|
||||
assert html =~ "disabled" || html =~ "cursor-not-allowed" ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue