Skip to content

Commit b86fc25

Browse files
authored
Fixes test that arose due to outdated PR branch (#174)
1 parent 848520b commit b86fc25

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

core/src/test/resources/filter-tests.adoc

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -421,17 +421,19 @@ RETURN person {
421421
.Cypher Params
422422
[source,json]
423423
----
424-
{
425-
"filterPersonId_MATCHES": "ja.*"
426-
}
424+
{
425+
"filterPersonIdMatches" : "ja.*"
426+
}
427427
----
428428

429429
.Cypher
430430
[source,cypher]
431431
----
432432
MATCH (person:Person)
433-
WHERE person.id =~ $filterPersonId_MATCHES
434-
RETURN person { .name } AS person
433+
WHERE person.id =~ $filterPersonIdMatches
434+
RETURN person {
435+
.name
436+
} AS person
435437
----
436438

437439
=== Filter id _contains_
@@ -1495,16 +1497,18 @@ RETURN person {
14951497
[source,json]
14961498
----
14971499
{
1498-
"filterPersonName_MATCHES": "Ja.*"
1500+
"filterPersonNameMatches" : "Ja.*"
14991501
}
15001502
----
15011503

15021504
.Cypher
15031505
[source,cypher]
15041506
----
15051507
MATCH (person:Person)
1506-
WHERE person.name =~ $filterPersonName_MATCHES
1507-
RETURN person { .name } AS person
1508+
WHERE person.name =~ $filterPersonNameMatches
1509+
RETURN person {
1510+
.name
1511+
} AS person
15081512
----
15091513

15101514
=== Filter string _contains_

0 commit comments

Comments
 (0)