Skip to content

Commit 57c66b9

Browse files
committed
Fix a broken test
1 parent 408337e commit 57c66b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vector-stores/spring-ai-neo4j-store/src/test/java/org/springframework/ai/vectorstore/filter/Neo4jVectorFilterExpressionConverterTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ public void testComplexIdentifiers() {
132132
public void testComplexIdentifiers2() {
133133
Filter.Expression expr = Filter.parser().parse("author in ['john', 'jill'] && 'article_type' == 'blog'");
134134
String vectorExpr = converter.convertExpression(expr);
135-
System.out.println(vectorExpr);
136-
assertThat(vectorExpr).isEqualTo("node.`metadata.country 1 2 3` = \"BG\"");
135+
assertThat(vectorExpr)
136+
.isEqualTo("node.`metadata.author` IN [\"john\",\"jill\"] AND node.`metadata.'article_type'` = \"blog\"");
137137
}
138138

139139
}

0 commit comments

Comments
 (0)