Skip to content

Fixes test that arose due to outdated PR branch #174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions core/src/test/resources/filter-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -421,17 +421,19 @@ RETURN person {
.Cypher Params
[source,json]
----
{
"filterPersonId_MATCHES": "ja.*"
}
{
"filterPersonIdMatches" : "ja.*"
}
----

.Cypher
[source,cypher]
----
MATCH (person:Person)
WHERE person.id =~ $filterPersonId_MATCHES
RETURN person { .name } AS person
WHERE person.id =~ $filterPersonIdMatches
RETURN person {
.name
} AS person
----

=== Filter id _contains_
Expand Down Expand Up @@ -1495,16 +1497,18 @@ RETURN person {
[source,json]
----
{
"filterPersonName_MATCHES": "Ja.*"
"filterPersonNameMatches" : "Ja.*"
}
----

.Cypher
[source,cypher]
----
MATCH (person:Person)
WHERE person.name =~ $filterPersonName_MATCHES
RETURN person { .name } AS person
WHERE person.name =~ $filterPersonNameMatches
RETURN person {
.name
} AS person
----

=== Filter string _contains_
Expand Down