test: remove skipped custom field slug lookup test

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

View file

@ -192,21 +192,5 @@ defmodule Mv.Membership.CustomFieldSlugTest do
end
end
describe "slug-based lookup (future feature)" do
@tag :skip
test "can find custom field by slug", %{actor: actor} do
{:ok, custom_field} =
CustomField
|> Ash.Changeset.for_create(:create, %{
name: "Test Field",
value_type: :string
})
|> Ash.create(actor: actor)
# This test is for future implementation
# We might add a custom action like :by_slug
found = Ash.get!(CustomField, custom_field.slug, load: [:slug], actor: actor)
assert found.id == custom_field.id
end
end
# Slug-based lookup (e.g. CustomField by slug) is not implemented; primary read uses ID.
end