From eedc93f7c589a8ff2de65c1252f29aa7ae96c1c2 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Mon, 2 Oct 2023 17:01:42 +0200 Subject: [PATCH] fix cypher statement in unit test --- backend/src/schema/resolvers/users/location.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/schema/resolvers/users/location.spec.ts b/backend/src/schema/resolvers/users/location.spec.ts index 7097002da..de132c2c7 100644 --- a/backend/src/schema/resolvers/users/location.spec.ts +++ b/backend/src/schema/resolvers/users/location.spec.ts @@ -208,7 +208,7 @@ describe('userMiddleware', () => { } await mutate({ mutation: updateUserMutation, variables }) const locations = await neode.cypher( - `MATCH (city:Location)-[:IS_IN]->(state:Location)-[:IS_IN]->(country:Location) return city {.*}, state {.*}, country {.*}`, + `MATCH (city:Location)-[:IS_IN]->(district:Location)-[:IS_IN]->(state:Location)-[:IS_IN]->(country:Location) return city {.*}, state {.*}, country {.*}`, ) expect( locations.records.map((record) => {