fix: tests failing in ci
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is failing

This commit is contained in:
carla 2026-02-19 08:55:55 +01:00
parent 9b1aad884e
commit 0333f9e722
3 changed files with 43 additions and 49 deletions

View file

@ -223,7 +223,7 @@ defmodule MvWeb.Components.SortHeaderComponentTest do
end
describe "component behavior" do
test "clicking sends sort message to parent", %{conn: conn} do
test "clicking triggers sort event on parent LiveView", %{conn: conn} do
conn = conn_with_oidc_user(conn)
{:ok, view, _html} = live(conn, "/members")
@ -232,7 +232,7 @@ defmodule MvWeb.Components.SortHeaderComponentTest do
|> element("button[phx-value-field='first_name']")
|> render_click()
# The component should send a message to the parent LiveView
# The component triggers a "sort" event on the parent LiveView
# This is tested indirectly through the URL change in integration tests
end