Skip to content

Commit aeda11b

Browse files
committed
Update test 6448 to v7
1 parent cdb24c4 commit aeda11b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

packages/graphql/tests/integration/issues/6448.int.test.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe("https://github.com/neo4j/graphql/issues/6448", () => {
4949
columnName: "roles"
5050
)
5151
Actors: [${Actor}!]! @relationship(type: "ACTED_IN", direction: IN)
52-
Studio: ${Studio} @relationship(type: "PRODUCED_BY", direction: OUT)
52+
Studio: [${Studio}!]! @relationship(type: "PRODUCED_BY", direction: OUT)
5353
}
5454
5555
type ${Studio}
@@ -107,12 +107,14 @@ describe("https://github.com/neo4j/graphql/issues/6448", () => {
107107
const query = /* GraphQL */ `
108108
mutation {
109109
${Studio.operations.update}(
110-
where: { Name: "A Studio" }
110+
where: { Name: {eq: "A Studio"} }
111111
update: {
112112
Movies: [
113113
{
114-
update: { node: { Actors: [{ connect: [{ where: { node: { Name: "An Actor" } } }] }] } }
115-
where: { node: { Name: "A Movie" } }
114+
update: {
115+
node: { Actors: [{ connect: [{ where: { node: { Name: {eq: "An Actor"} } } }] }] }
116+
where: { node: { Name: {eq: "A Movie"} } }
117+
}
116118
}
117119
]
118120
}

0 commit comments

Comments
 (0)