Skip to content

Commit e9c1a5a

Browse files
authored
minor correction in bolt protocol tests (#1245)
Changes the driver version in bolt protocol tests to be the version where the protocol was added.
1 parent 4090cb6 commit e9c1a5a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

packages/bolt-connection/test/bolt/bolt-protocol-v5x3.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe('#unit BoltProtocolV5x3', () => {
267267

268268
const clientName = 'js-driver/1.2.3'
269269
const boltAgent = {
270-
product: 'neo4j-javascript/5.6',
270+
product: 'neo4j-javascript/5.9',
271271
platform: 'netbsd 1.1.1; Some arch',
272272
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
273273
}
@@ -309,7 +309,7 @@ describe('#unit BoltProtocolV5x3', () => {
309309
utils.spyProtocolWrite(protocol)
310310

311311
const boltAgent = {
312-
product: 'neo4j-javascript/5.6',
312+
product: 'neo4j-javascript/5.9',
313313
platform: 'netbsd 1.1.1; Some arch',
314314
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
315315
}

packages/bolt-connection/test/bolt/bolt-protocol-v5x4.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ describe('#unit BoltProtocolV5x4', () => {
269269

270270
const clientName = 'js-driver/1.2.3'
271271
const boltAgent = {
272-
product: 'neo4j-javascript/5.6',
272+
product: 'neo4j-javascript/5.13',
273273
platform: 'netbsd 1.1.1; Some arch',
274274
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
275275
}
@@ -311,7 +311,7 @@ describe('#unit BoltProtocolV5x4', () => {
311311
utils.spyProtocolWrite(protocol)
312312

313313
const boltAgent = {
314-
product: 'neo4j-javascript/5.6',
314+
product: 'neo4j-javascript/5.13',
315315
platform: 'netbsd 1.1.1; Some arch',
316316
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
317317
}

packages/bolt-connection/test/bolt/bolt-protocol-v5x5.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ describe('#unit BoltProtocolV5x5', () => {
269269

270270
const clientName = 'js-driver/1.2.3'
271271
const boltAgent = {
272-
product: 'neo4j-javascript/5.6',
272+
product: 'neo4j-javascript/5.22',
273273
platform: 'netbsd 1.1.1; Some arch',
274274
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
275275
}
@@ -311,7 +311,7 @@ describe('#unit BoltProtocolV5x5', () => {
311311
utils.spyProtocolWrite(protocol)
312312

313313
const boltAgent = {
314-
product: 'neo4j-javascript/5.6',
314+
product: 'neo4j-javascript/5.22',
315315
platform: 'netbsd 1.1.1; Some arch',
316316
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
317317
}

packages/bolt-connection/test/bolt/bolt-protocol-v5x6.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ describe('#unit BoltProtocolV5x6', () => {
269269

270270
const clientName = 'js-driver/1.2.3'
271271
const boltAgent = {
272-
product: 'neo4j-javascript/5.6',
272+
product: 'neo4j-javascript/5.23',
273273
platform: 'netbsd 1.1.1; Some arch',
274274
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
275275
}
@@ -311,7 +311,7 @@ describe('#unit BoltProtocolV5x6', () => {
311311
utils.spyProtocolWrite(protocol)
312312

313313
const boltAgent = {
314-
product: 'neo4j-javascript/5.6',
314+
product: 'neo4j-javascript/5.23',
315315
platform: 'netbsd 1.1.1; Some arch',
316316
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
317317
}

packages/bolt-connection/test/bolt/bolt-protocol-v5x7.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ describe('#unit BoltProtocolV5x7', () => {
278278

279279
const clientName = 'js-driver/1.2.3'
280280
const boltAgent = {
281-
product: 'neo4j-javascript/5.7',
281+
product: 'neo4j-javascript/5.26',
282282
platform: 'netbsd 1.1.1; Some arch',
283283
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
284284
}
@@ -320,7 +320,7 @@ describe('#unit BoltProtocolV5x7', () => {
320320
utils.spyProtocolWrite(protocol)
321321

322322
const boltAgent = {
323-
product: 'neo4j-javascript/5.7',
323+
product: 'neo4j-javascript/5.26',
324324
platform: 'netbsd 1.1.1; Some arch',
325325
languageDetails: 'Node/16.0.1 (v8 1.7.0)'
326326
}

0 commit comments

Comments
 (0)