WIP feat: member user relation
This commit is contained in:
parent
997691746a
commit
4e6f5a517a
35 changed files with 1208 additions and 192 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue