fix: prefix unused view variable with underscore

Fix compiler warning for unused variable in role_live_test.exs
This commit is contained in:
Moritz 2026-01-06 23:15:55 +01:00
parent 8820ce6429
commit 8b43e121c1
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -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" ||