From c8fe5d8f9df5adbec89fecf0f981d62904b79335 Mon Sep 17 00:00:00 2001 From: Antonio Barcelos Date: Wed, 3 Mar 2021 17:01:54 +0100 Subject: [PATCH] testkit-backend: Fix cypherToNative to use int for CypherInt The lack of conversion was making `SessionRunParameters.test_combined` fail in the stricted mode --- testkit-backend/cypher-native-binders.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testkit-backend/cypher-native-binders.js b/testkit-backend/cypher-native-binders.js index acd27af01..d5430a75d 100644 --- a/testkit-backend/cypher-native-binders.js +++ b/testkit-backend/cypher-native-binders.js @@ -1,4 +1,4 @@ -import neo4j from 'neo4j-driver' +import neo4j, { int } from 'neo4j-driver' export function valueResponse (name, value) { return { name: name, data: { value: value } } @@ -58,7 +58,7 @@ export function cypherToNative (c) { case 'CypherString': return value case 'CypherInt': - return value + return int(value) case 'CypherFloat': return value case 'CypherNull':