test: remove placeholder test for non-existent member IDs

This commit is contained in:
Moritz 2026-03-10 18:15:11 +01:00
parent c264ce122d
commit b04d59e3c4
Signed by: moritz
GPG key ID: 1020A035E5DD0824

View file

@ -248,16 +248,6 @@ defmodule MvWeb.GroupLive.ShowAuthorizationTest do
match?({:error, {:live_redirect, %{to: "/groups"}}}, result) match?({:error, {:live_redirect, %{to: "/groups"}}}, result)
end end
@tag :skip
test "non-existent member IDs are handled", %{conn: conn} do
# Future: test add_selected_members with invalid ID (would require pushing event with forged selected_member_ids)
group = Fixtures.group_fixture()
{:ok, view, _html} = live(conn, "/groups/#{group.slug}")
assert has_element?(view, "button", "Add Member")
end
test "non-existent group IDs are handled", %{conn: conn} do test "non-existent group IDs are handled", %{conn: conn} do
# Accessing non-existent group should redirect # Accessing non-existent group should redirect
non_existent_slug = "non-existent-group-#{System.unique_integer([:positive])}" non_existent_slug = "non-existent-group-#{System.unique_integer([:positive])}"