fix: prefix unused view variable with underscore
Fix compiler warning for unused variable in role_live_test.exs
This commit is contained in:
parent
9a86e0ec01
commit
c9b83a501f
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.Changeset.force_change_attribute(:is_system_role, true)
|
||||||
|> Ash.create!()
|
|> Ash.create!()
|
||||||
|
|
||||||
{:ok, view, html} = live(conn, "/admin/roles")
|
{:ok, _view, html} = live(conn, "/admin/roles")
|
||||||
|
|
||||||
# System role delete button should be disabled
|
# System role delete button should be disabled
|
||||||
assert html =~ "disabled" || html =~ "cursor-not-allowed" ||
|
assert html =~ "disabled" || html =~ "cursor-not-allowed" ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue