mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-20 05:13:33 +12:00
chore: fix tests
This commit is contained in:
parent
13c2abe11a
commit
c54bcdfdda
4 changed files with 7 additions and 7 deletions
|
@ -164,7 +164,7 @@ defmodule AshGraphql.ErrorsTest do
|
|||
AshGraphql.Test.MultitenantTag
|
||||
|> Ash.Changeset.for_create(
|
||||
:create,
|
||||
[name: "My Tag"],
|
||||
[name: "My Tag4"],
|
||||
tenant: tenant
|
||||
)
|
||||
|> AshGraphql.Test.Api.create!()
|
||||
|
@ -195,7 +195,7 @@ defmodule AshGraphql.ErrorsTest do
|
|||
AshGraphql.Test.MultitenantTag
|
||||
|> Ash.Changeset.for_create(
|
||||
:create,
|
||||
[name: "My Tag"],
|
||||
[name: "My Tag2"],
|
||||
tenant: tenant
|
||||
)
|
||||
|> AshGraphql.Test.Api.create!()
|
||||
|
@ -226,7 +226,7 @@ defmodule AshGraphql.ErrorsTest do
|
|||
AshGraphql.Test.MultitenantTag
|
||||
|> Ash.Changeset.for_create(
|
||||
:create,
|
||||
[name: "My Tag"],
|
||||
[name: "My Tag3"],
|
||||
tenant: tenant
|
||||
)
|
||||
|> AshGraphql.Test.Api.create!()
|
||||
|
|
|
@ -310,7 +310,7 @@ defmodule AshGraphql.ReadTest do
|
|||
AshGraphql.Test.MultitenantTag
|
||||
|> Ash.Changeset.for_create(
|
||||
:create,
|
||||
[name: "My Tag"],
|
||||
[name: "My Tag1"],
|
||||
tenant: tenant
|
||||
)
|
||||
|> AshGraphql.Test.Api.create!()
|
||||
|
@ -327,7 +327,7 @@ defmodule AshGraphql.ReadTest do
|
|||
%{
|
||||
data: %{
|
||||
"getMultitenantTag" => %{
|
||||
"name" => "My Tag"
|
||||
"name" => "My Tag1"
|
||||
}
|
||||
}
|
||||
}} ==
|
||||
|
|
|
@ -38,7 +38,7 @@ defmodule AshGraphql.Test.MultitenantTag do
|
|||
end
|
||||
|
||||
identities do
|
||||
identity(:name, [:name])
|
||||
identity(:name, [:name], pre_check_with: AshGraphql.Test.Api)
|
||||
end
|
||||
|
||||
relationships do
|
||||
|
|
|
@ -34,7 +34,7 @@ defmodule AshGraphql.Test.Tag do
|
|||
end
|
||||
|
||||
identities do
|
||||
identity(:name, [:name])
|
||||
identity(:name, [:name], pre_check_with: AshGraphql.Test.Api)
|
||||
end
|
||||
|
||||
relationships do
|
||||
|
|
Loading…
Reference in a new issue