Skip to content

Commit fc921f2

Browse files
committed
Fix cypher on tck tests
1 parent 9df93ab commit fc921f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/graphql/tests/tck/disable-escaping.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("Disable escaping", () => {
3030
name: String!
3131
}
3232
33-
type Movie @node(labels: ["A Movie"]) {
33+
type Movie @node(labels: ["Movie:Film"]) {
3434
title: String!
3535
actors: [Actor!]! @relationship(type: "ACTED IN", direction: IN)
3636
}
@@ -59,7 +59,7 @@ describe("Disable escaping", () => {
5959
const result = await translateQuery(neoSchema, query);
6060

6161
expect(formatCypher(result.cypher)).toMatchInlineSnapshot(`
62-
"MATCH (this:\`A Movie\`)
62+
"MATCH (this:\`Movie:Film\`)
6363
CALL {
6464
WITH this
6565
MATCH (this)<-[this0:ACTED IN]-(this1:Actor)
@@ -94,7 +94,7 @@ describe("Disable escaping", () => {
9494
const result = await translateQuery(neoSchema, query);
9595

9696
expect(formatCypher(result.cypher)).toMatchInlineSnapshot(`
97-
"MATCH (this:A Movie)
97+
"MATCH (this:Movie:Film)
9898
CALL {
9999
WITH this
100100
MATCH (this)<-[this0:\`ACTED IN\`]-(this1:Actor)

0 commit comments

Comments
 (0)