@@ -100,7 +100,7 @@ describe('RoutingUtil', () => {
100100 const session = FakeSession . withFakeConnection ( connection ) ;
101101
102102 callRoutingProcedure ( session , { } ) . then ( ( ) => {
103- expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable({ context} )' ] ) ;
103+ expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable($ context)' ] ) ;
104104 expect ( connection . seenParameters ) . toEqual ( [ { context : { } } ] ) ;
105105 done ( ) ;
106106 } ) ;
@@ -111,7 +111,7 @@ describe('RoutingUtil', () => {
111111 const session = FakeSession . withFakeConnection ( connection ) ;
112112
113113 callRoutingProcedure ( session , { key1 : 'value1' , key2 : 'value2' } ) . then ( ( ) => {
114- expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable({ context} )' ] ) ;
114+ expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable($ context)' ] ) ;
115115 expect ( connection . seenParameters ) . toEqual ( [ { context : { key1 : 'value1' , key2 : 'value2' } } ] ) ;
116116 done ( ) ;
117117 } ) ;
@@ -122,7 +122,7 @@ describe('RoutingUtil', () => {
122122 const session = FakeSession . withFakeConnection ( connection ) ;
123123
124124 callRoutingProcedure ( session , { } ) . then ( ( ) => {
125- expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable({ context} )' ] ) ;
125+ expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable($ context)' ] ) ;
126126 expect ( connection . seenParameters ) . toEqual ( [ { context : { } } ] ) ;
127127 done ( ) ;
128128 } ) ;
@@ -133,7 +133,7 @@ describe('RoutingUtil', () => {
133133 const session = FakeSession . withFakeConnection ( connection ) ;
134134
135135 callRoutingProcedure ( session , { key1 : 'foo' , key2 : 'bar' } ) . then ( ( ) => {
136- expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable({ context} )' ] ) ;
136+ expect ( connection . seenStatements ) . toEqual ( [ 'CALL dbms.cluster.routing.getRoutingTable($ context)' ] ) ;
137137 expect ( connection . seenParameters ) . toEqual ( [ { context : { key1 : 'foo' , key2 : 'bar' } } ] ) ;
138138 done ( ) ;
139139 } ) ;
0 commit comments