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 9a86e0ec01
commit c9b83a501f
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.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" ||