diff --git a/tests/tck/features/expression/ListComprehension.feature b/tests/tck/features/expression/ListComprehension.feature index a94bbd10e1d..bcaa62d42eb 100644 --- a/tests/tck/features/expression/ListComprehension.feature +++ b/tests/tck/features/expression/ListComprehension.feature @@ -53,8 +53,8 @@ Feature: ListComprehension When executing query: """ MATCH p = (n:player{name:"LeBron James"})<-[:like]-(m) - RETURN [n IN nodes(p) WHERE n.player.name - NOT STARTS WITH "LeBron" | n.player.age + 100] AS r + RETURN [n IN nodes(p) WHERE n.name + NOT STARTS WITH "LeBron" | n.age + 100] AS r """ Then the result should be, in any order: | r | @@ -67,7 +67,7 @@ Feature: ListComprehension When executing query: """ MATCH p = (n:player{name:"LeBron James"})-[:like]->(m) - RETURN [n IN nodes(p) | n.player.age + 100] AS r + RETURN [n IN nodes(p) | n.age + 100] AS r """ Then the result should be, in any order: | r | diff --git a/tests/tck/features/expression/Predicate.feature b/tests/tck/features/expression/Predicate.feature index a059899f1d2..3853c812d10 100644 --- a/tests/tck/features/expression/Predicate.feature +++ b/tests/tck/features/expression/Predicate.feature @@ -285,9 +285,9 @@ Feature: Predicate """ MATCH p = (n:player{name:"LeBron James"})<-[:like]-(m) RETURN - nodes(p)[0].player.name AS n1, - nodes(p)[1].player.name AS n2, - all(n IN nodes(p) WHERE n.player.name NOT STARTS WITH "D") AS b + nodes(p)[0].name AS n1, + nodes(p)[1].name AS n2, + all(n IN nodes(p) WHERE n.name NOT STARTS WITH "D") AS b """ Then the result should be, in any order: | n1 | n2 | b | @@ -300,7 +300,7 @@ Feature: Predicate When executing query: """ MATCH p = (n:player{name:"LeBron James"})-[:like]->(m) - RETURN single(n IN nodes(p) WHERE n.player.age > 40) AS b + RETURN single(n IN nodes(p) WHERE n.age > 40) AS b """ Then the result should be, in any order: | b | diff --git a/tests/tck/features/expression/Reduce.feature b/tests/tck/features/expression/Reduce.feature index 7026fb26d9a..cae899f1544 100644 --- a/tests/tck/features/expression/Reduce.feature +++ b/tests/tck/features/expression/Reduce.feature @@ -40,9 +40,9 @@ Feature: Reduce """ MATCH p = (n:player{name:"LeBron James"})<-[:like]-(m) RETURN - nodes(p)[0].player.age AS age1, - nodes(p)[1].player.age AS age2, - reduce(totalAge = 100, n IN nodes(p) | totalAge + n.player.age) AS r + nodes(p)[0].age AS age1, + nodes(p)[1].age AS age2, + reduce(totalAge = 100, n IN nodes(p) | totalAge + n.age) AS r """ Then the result should be, in any order: | age1 | age2 | r | @@ -55,9 +55,9 @@ Feature: Reduce When executing query: """ MATCH p = (n:player{name:"LeBron James"})-[:like]->(m) - RETURN nodes(p)[0].player.age AS age1, - nodes(p)[1].player.age AS age2, - reduce(x = 10, n IN nodes(p) | n.player.age - x) AS x + RETURN nodes(p)[0].age AS age1, + nodes(p)[1].age AS age2, + reduce(x = 10, n IN nodes(p) | n.age - x) AS x """ Then the result should be, in any order: | age1 | age2 | x |