diff --git a/cypher-aggregation/src/test/java/org/neo4j/gds/projection/CypherAggregationTest.java b/cypher-aggregation/src/test/java/org/neo4j/gds/projection/CypherAggregationTest.java index e8dba8c61c..af87df8c21 100644 --- a/cypher-aggregation/src/test/java/org/neo4j/gds/projection/CypherAggregationTest.java +++ b/cypher-aggregation/src/test/java/org/neo4j/gds/projection/CypherAggregationTest.java @@ -380,6 +380,9 @@ void testNodeLabels(String labels) { "RETURN gds.graph.project('g', s, null, { sourceNodeLabels: " + labels + ", targetNodeLabels: NULL })"); var graphStore = GraphStoreCatalog.get("", db.databaseName(), "g").graphStore(); + + assertThat(graphStore.relationshipTypes()).containsExactlyInAnyOrderElementsOf(graphStore.schema().relationshipSchema().availableTypes()); + assertThat(graphStore.nodeLabels()).extracting(NodeLabel::name).containsExactly("A", "B"); }