Merge pull request #6780 from Ocelot-Social-Community/6778-fix-kubernetes-error-by-degrading-node-version-to-v20.2.0-locales

fix(backend): cypher statement in user locales unit test
This commit is contained in:
Wolfgang Huß 2023-10-02 20:42:02 +02:00 committed by GitHub
commit 492d584738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) => {