WIP feat: member user relation

This commit is contained in:
Moritz 2025-07-24 20:15:01 +02:00
parent 997691746a
commit 4e6f5a517a
Signed by: moritz
GPG key ID: 1020A035E5DD0824
35 changed files with 1208 additions and 192 deletions

View file

@ -119,8 +119,10 @@ defmodule MvWeb.OidcIntegrationTest do
assert {:error, %Ash.Error.Invalid{errors: errors}} = result
# Check for either Required error or InvalidAttribute error with email field
assert Enum.any?(errors, fn err ->
match?(%Ash.Error.Changes.Required{field: :email}, err)
match?(%Ash.Error.Changes.Required{field: :email}, err) or
match?(%Ash.Error.Changes.InvalidAttribute{field: :email}, err)
end)
end