@@ -64,7 +64,7 @@ describe('map values', function() {
64
64
describe ( 'node values' , function ( ) {
65
65
it ( 'should support returning nodes ' , function ( done ) {
66
66
// Given
67
- var driver = neo4j . driver ( "bolt://localhost" ) ;
67
+ var driver = neo4j . driver ( "bolt://localhost" , neo4j . auth . basic ( "neo4j" , "neo4j" ) ) ;
68
68
var session = driver . session ( ) ;
69
69
70
70
// When
@@ -84,7 +84,7 @@ describe('node values', function() {
84
84
describe ( 'relationship values' , function ( ) {
85
85
it ( 'should support returning relationships' , function ( done ) {
86
86
// Given
87
- var driver = neo4j . driver ( "bolt://localhost" ) ;
87
+ var driver = neo4j . driver ( "bolt://localhost" , neo4j . auth . basic ( "neo4j" , "neo4j" ) ) ;
88
88
var session = driver . session ( ) ;
89
89
90
90
// When
@@ -104,7 +104,7 @@ describe('relationship values', function() {
104
104
describe ( 'path values' , function ( ) {
105
105
it ( 'should support returning paths' , function ( done ) {
106
106
// Given
107
- var driver = neo4j . driver ( "bolt://localhost" ) ;
107
+ var driver = neo4j . driver ( "bolt://localhost" , neo4j . auth . basic ( "neo4j" , "neo4j" ) ) ;
108
108
var session = driver . session ( ) ;
109
109
110
110
// When
@@ -133,7 +133,7 @@ describe('path values', function() {
133
133
134
134
function testVal ( val ) {
135
135
return function ( done ) {
136
- var driver = neo4j . driver ( "bolt://localhost" ) ;
136
+ var driver = neo4j . driver ( "bolt://localhost" , neo4j . auth . basic ( "neo4j" , "neo4j" ) ) ;
137
137
var session = driver . session ( ) ;
138
138
139
139
session . run ( "RETURN {val} as v" , { val : val } )
0 commit comments