diff --git a/tests/tck/features/match/RedefinedNode.feature b/tests/tck/features/match/RedefinedNode.feature index a0bb8dff940..01ae6c5e01f 100644 --- a/tests/tck/features/match/RedefinedNode.feature +++ b/tests/tck/features/match/RedefinedNode.feature @@ -194,9 +194,17 @@ Feature: Redefined symbols Then a SemanticError should be raised at runtime: `e': Redefined alias Scenario: Redefined alias in with + Given a graph with space named "nba" + And having executed: + """ + insert edge like (likeness) values "Tim Duncan"->"Tim Duncan":(100); + insert edge like (likeness) values "Carmelo Anthony"->"Carmelo Anthony":(100); + """ When executing query: """ - MATCH (n0)-[e0]->(n0) WHERE (id(n0) IN [7,10]) with * RETURN * + MATCH (n0)-[e0]->(n0) WHERE (id(n0) IN ["Tim Duncan", "Carmelo Anthony" ]) with * RETURN * """ Then the result should be, in any order: - | n0 | e0 | + | n0 | e0 | + | ("Tim Duncan" :player{age: 42, name: "Tim Duncan"} :bachelor{name: "Tim Duncan", speciality: "psychology"}) | [:like "Tim Duncan"->"Tim Duncan" @0 {likeness: 100}] | + | ("Carmelo Anthony" :player{age: 34, name: "Carmelo Anthony"}) | [:like "Carmelo Anthony"->"Carmelo Anthony" @0 {likeness: 100}] |