Skip to content

Commit 359b2db

Browse files
committed
testkit-backend: Fix cypherToNative to use int for CypherInt
The lack of conversion was making `SessionRunParameters.test_combined` fail in the stricted mode
1 parent de806a1 commit 359b2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testkit-backend/cypher-native-binders.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import neo4j from 'neo4j-driver'
1+
import neo4j, { int } from 'neo4j-driver'
22

33
export function valueResponse (name, value) {
44
return { name: name, data: { value: value } }
@@ -58,7 +58,7 @@ export function cypherToNative (c) {
5858
case 'CypherString':
5959
return value
6060
case 'CypherInt':
61-
return value
61+
return int(value)
6262
case 'CypherFloat':
6363
return value
6464
case 'CypherNull':

0 commit comments

Comments
 (0)