Fix inconsistent toast arity in form components

Closes #94
This commit is contained in:
Claudio Ortolina
2026-03-05 17:06:23 +00:00
parent 494996c4fb
commit 4b1f6bb245
5 changed files with 20 additions and 30 deletions
@@ -72,11 +72,11 @@ defmodule MusicLibraryWeb.ScrobbleRulesLiveTest do
|> form("#scrobble_rule-form", scrobble_rule: @invalid_attrs)
|> render_change() =~ "can't be blank"
html =
index_live
|> form("#scrobble_rule-form", scrobble_rule: @update_attrs)
|> render_submit()
index_live
|> form("#scrobble_rule-form", scrobble_rule: @update_attrs)
|> render_submit()
html = render(index_live)
assert html =~ "Scrobble rule updated successfully"
assert html =~ "some updated match_value"
end