@@ -135,7 +135,7 @@ describe('session', function() {
135135 var params = { prop : "string" }
136136 // When & Then
137137 var result = driver . session ( ) . run ( statement , params ) ;
138- result . then ( function ( records ) {
138+ result . then ( function ( ) {
139139 var sum = result . summarize ( ) ;
140140 expect ( sum . statement . text ) . toBe ( statement ) ;
141141 expect ( sum . statement . parameters ) . toBe ( params ) ;
@@ -154,7 +154,7 @@ describe('session', function() {
154154 var params = { prop : "string" }
155155 // When & Then
156156 var result = driver . session ( ) . run ( statement , params ) ;
157- result . then ( function ( records ) {
157+ result . then ( function ( ) {
158158 var sum = result . summarize ( ) ;
159159 expect ( sum . hasPlan ( ) ) . toBe ( true ) ;
160160 expect ( sum . hasProfile ( ) ) . toBe ( false ) ;
@@ -174,7 +174,7 @@ describe('session', function() {
174174 var params = { prop : "string" }
175175 // When & Then
176176 var result = driver . session ( ) . run ( statement , params ) ;
177- result . then ( function ( records ) {
177+ result . then ( function ( ) {
178178 var sum = result . summarize ( ) ;
179179 expect ( sum . hasPlan ( ) ) . toBe ( true ) ; //When there's a profile, there's a plan
180180 expect ( sum . hasProfile ( ) ) . toBe ( true ) ;
@@ -195,7 +195,7 @@ describe('session', function() {
195195 var statement = "EXPLAIN MATCH (n), (m) RETURN n, m" ;
196196 // When & Then
197197 var result = driver . session ( ) . run ( statement ) ;
198- result . then ( function ( records ) {
198+ result . then ( function ( ) {
199199 var sum = result . summarize ( ) ;
200200 expect ( sum . notifications . length ) . toBeGreaterThan ( 0 ) ;
201201 expect ( sum . notifications [ 0 ] . code ) . toBe ( "Neo.ClientNotification.Statement.CartesianProduct" ) ;
0 commit comments