@@ -101,7 +101,7 @@ describe('#unit RoutingUtil', () => {
101101 const session = FakeSession . withFakeConnection ( connection )
102102
103103 callRoutingProcedure ( session , '' , { } ) . then ( ( ) => {
104- expect ( connection . seenStatements ) . toEqual ( [
104+ expect ( connection . seenQueries ) . toEqual ( [
105105 'CALL dbms.cluster.routing.getRoutingTable($context)'
106106 ] )
107107 expect ( connection . seenParameters ) . toEqual ( [ { context : { } } ] )
@@ -115,7 +115,7 @@ describe('#unit RoutingUtil', () => {
115115
116116 callRoutingProcedure ( session , '' , { key1 : 'value1' , key2 : 'value2' } ) . then (
117117 ( ) => {
118- expect ( connection . seenStatements ) . toEqual ( [
118+ expect ( connection . seenQueries ) . toEqual ( [
119119 'CALL dbms.cluster.routing.getRoutingTable($context)'
120120 ] )
121121 expect ( connection . seenParameters ) . toEqual ( [
@@ -131,7 +131,7 @@ describe('#unit RoutingUtil', () => {
131131 const session = FakeSession . withFakeConnection ( connection )
132132
133133 callRoutingProcedure ( session , '' , { } ) . then ( ( ) => {
134- expect ( connection . seenStatements ) . toEqual ( [
134+ expect ( connection . seenQueries ) . toEqual ( [
135135 'CALL dbms.cluster.routing.getRoutingTable($context)'
136136 ] )
137137 expect ( connection . seenParameters ) . toEqual ( [ { context : { } } ] )
@@ -144,7 +144,7 @@ describe('#unit RoutingUtil', () => {
144144 const session = FakeSession . withFakeConnection ( connection )
145145
146146 callRoutingProcedure ( session , '' , { key1 : 'foo' , key2 : 'bar' } ) . then ( ( ) => {
147- expect ( connection . seenStatements ) . toEqual ( [
147+ expect ( connection . seenQueries ) . toEqual ( [
148148 'CALL dbms.cluster.routing.getRoutingTable($context)'
149149 ] )
150150 expect ( connection . seenParameters ) . toEqual ( [
@@ -181,7 +181,7 @@ describe('#unit RoutingUtil', () => {
181181
182182 await callRoutingProcedure ( session , '' , { } )
183183
184- expect ( connection . seenStatements ) . toEqual ( [
184+ expect ( connection . seenQueries ) . toEqual ( [
185185 'CALL dbms.routing.getRoutingTable($context, $database)'
186186 ] )
187187 expect ( connection . seenParameters ) . toEqual ( [
@@ -208,7 +208,7 @@ describe('#unit RoutingUtil', () => {
208208
209209 await callRoutingProcedure ( session , '' , { } )
210210
211- expect ( connection . seenStatements ) . toEqual ( [
211+ expect ( connection . seenQueries ) . toEqual ( [
212212 'CALL dbms.routing.getRoutingTable($context, $database)'
213213 ] )
214214 expect ( connection . seenParameters ) . toEqual ( [
@@ -234,7 +234,7 @@ describe('#unit RoutingUtil', () => {
234234
235235 await callRoutingProcedure ( session , '' , { } )
236236
237- expect ( connection . seenStatements ) . toEqual ( [
237+ expect ( connection . seenQueries ) . toEqual ( [
238238 'CALL dbms.routing.getRoutingTable($context, $database)'
239239 ] )
240240 expect ( connection . seenParameters ) . toEqual ( [
@@ -407,7 +407,7 @@ describe('#unit RoutingUtil', () => {
407407 const session = FakeSession . withFakeConnection ( connection )
408408
409409 callRoutingProcedure ( session , database , context ) . then ( ( ) => {
410- expect ( connection . seenStatements ) . toEqual ( [
410+ expect ( connection . seenQueries ) . toEqual ( [
411411 'CALL dbms.routing.getRoutingTable($context, $database)'
412412 ] )
413413 expect ( connection . seenParameters ) . toEqual ( [
@@ -523,7 +523,7 @@ describe('#unit RoutingUtil', () => {
523523 return new FakeSession ( null , connection )
524524 }
525525
526- _run ( ignoreStatement , ignoreParameters , statementRunner ) {
526+ _run ( ignoreQuery , ignoreParameters , statementRunner ) {
527527 if ( this . _runResponse ) {
528528 return this . _runResponse
529529 }
0 commit comments