Skip to content

Commit 5ad7556

Browse files
committed
Add 5.0 support to testkit
1 parent 0c74a9c commit 5ad7556

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

packages/testkit-backend/src/cypher-native-binders.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export function nativeToCypher (x) {
6060
const node = {
6161
id: nativeToCypher(x.identity),
6262
labels: nativeToCypher(x.labels),
63-
props: nativeToCypher(x.properties)
63+
props: nativeToCypher(x.properties),
64+
elementId: nativeToCypher(x.elementId)
6465
}
6566
return { name: 'CypherNode', data: node }
6667
}
@@ -70,7 +71,10 @@ export function nativeToCypher (x) {
7071
startNodeId: nativeToCypher(x.start),
7172
endNodeId: nativeToCypher(x.end),
7273
type: nativeToCypher(x.type),
73-
props: nativeToCypher(x.properties)
74+
props: nativeToCypher(x.properties),
75+
elementId: nativeToCypher(x.elementId),
76+
startNodeElementId: nativeToCypher(x.startNodeElementId),
77+
endNodeElementId: nativeToCypher(x.endNodeElementId)
7478
}
7579
return { name: 'CypherRelationship', data: relationship }
7680
}

packages/testkit-backend/src/feature/common.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const features = [
2727
'Feature:Bolt:4.2',
2828
'Feature:Bolt:4.3',
2929
'Feature:Bolt:4.4',
30+
'Feature:Bolt:5.0',
3031
'Feature:API:ConnectionAcquisitionTimeout',
3132
'Feature:API:Driver:GetServerInfo',
3233
'Feature:API:Driver.VerifyConnectivity',

0 commit comments

Comments
 (0)