Skip to content

Commit 6f2f3ae

Browse files
committed
Update default Neo4j version
And make spawn printouts null-safe.
1 parent bd2d01a commit 6f2f3ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/internal/shared-neo4j.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const password = 'password';
9595
const authToken = neo4j.auth.basic(username, password);
9696

9797
const neoCtrlVersionParam = '-e';
98-
const defaultNeo4jVersion = '3.1.2';
98+
const defaultNeo4jVersion = '3.1.3';
9999
const defaultNeoCtrlArgs = `${neoCtrlVersionParam} ${defaultNeo4jVersion}`;
100100

101101
function neo4jCertPath(dir) {
@@ -237,8 +237,8 @@ class RunCommandResult {
237237

238238
constructor(spawnResult) {
239239
this.successful = spawnResult.status === 0;
240-
this.stdout = (spawnResult.stdout.toString() || '').trim();
241-
this.stderr = (spawnResult.stderr.toString() || '').trim();
240+
this.stdout = (spawnResult.stdout || '').toString().trim();
241+
this.stderr = (spawnResult.stderr || '').toString().trim();
242242
this.fullOutput = 'STDOUT:\n\t' + this.stdout + '\n' +
243243
'STDERR:\n\t' + this.stderr + '\n' +
244244
'EXIT CODE:\n\t' + spawnResult.status + '\n' +

0 commit comments

Comments
 (0)