test: remove placeholder test for non-existent member IDs
This commit is contained in:
parent
c264ce122d
commit
b04d59e3c4
1 changed files with 0 additions and 10 deletions
|
|
@ -248,16 +248,6 @@ defmodule MvWeb.GroupLive.ShowAuthorizationTest do
|
|||
match?({:error, {:live_redirect, %{to: "/groups"}}}, result)
|
||||
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
|
||||
# Accessing non-existent group should redirect
|
||||
non_existent_slug = "non-existent-group-#{System.unique_integer([:positive])}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue