@@ -211,10 +211,7 @@ describe('DataConnectApiClient', () => {
211211 expect ( resp . data . users ) . to . deep . equal ( TEST_RESPONSE . data . users ) ;
212212 expect ( stub ) . to . have . been . calledOnce . and . calledWith ( {
213213 method : 'POST' ,
214- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
215- // TODO: CHANGE THIS BACK TO PROD - AUTOPUSH IS ONLY USED FOR LOCAL TESTING BEFORE CHANGES PROPAGATE TO PROD
216- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
217- url : `https://autopush-firebasedataconnect.sandbox.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } :executeGraphql` ,
214+ url : `https://firebasedataconnect.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } :executeGraphql` ,
218215 headers : EXPECTED_HEADERS ,
219216 data : { query : 'query' }
220217 } ) ;
@@ -329,10 +326,7 @@ describe('DataConnectApiClient', () => {
329326 expect ( resp . data . users ) . to . deep . equal ( TEST_RESPONSE . data . users ) ;
330327 expect ( stub ) . to . have . been . calledOnce . and . calledWith ( {
331328 method : 'POST' ,
332- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
333- // TODO: CHANGE THIS BACK TO PROD - AUTOPUSH IS ONLY USED FOR LOCAL TESTING BEFORE CHANGES PROPAGATE TO PROD
334- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
335- url : `https://autopush-firebasedataconnect.sandbox.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateQuery` ,
329+ url : `https://firebasedataconnect.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateQuery` ,
336330 headers : EXPECTED_HEADERS ,
337331 data : {
338332 operationName : 'unauthenticated query' ,
@@ -356,10 +350,7 @@ describe('DataConnectApiClient', () => {
356350 expect ( resp . data . users ) . to . deep . equal ( TEST_RESPONSE . data . users ) ;
357351 expect ( stub ) . to . have . been . calledOnce . and . calledWith ( {
358352 method : 'POST' ,
359- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
360- // TODO: CHANGE THIS BACK TO PROD - AUTOPUSH IS ONLY USED FOR LOCAL TESTING BEFORE CHANGES PROPAGATE TO PROD
361- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
362- url : `https://autopush-firebasedataconnect.sandbox.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateQuery` ,
353+ url : `https://firebasedataconnect.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateQuery` ,
363354 headers : EXPECTED_HEADERS ,
364355 data : {
365356 operationName : 'authenticated query' ,
@@ -479,11 +470,7 @@ describe('DataConnectApiClient', () => {
479470 expect ( resp . data . users ) . to . deep . equal ( TEST_RESPONSE . data . users ) ;
480471 expect ( stub ) . to . have . been . calledOnce . and . calledWith ( {
481472 method : 'POST' ,
482- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
483- // eslint-disable-next-line max-len
484- // TODO: CHANGE THIS BACK TO PROD - AUTOPUSH IS ONLY USED FOR LOCAL TESTING BEFORE CHANGES PROPAGATE TO PROD
485- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
486- url : `https://autopush-firebasedataconnect.sandbox.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateMutation` ,
473+ url : `https://firebasedataconnect.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateMutation` ,
487474 headers : EXPECTED_HEADERS ,
488475 data : {
489476 operationName : 'unauthenticated mutation' ,
@@ -503,11 +490,7 @@ describe('DataConnectApiClient', () => {
503490 expect ( resp . data . users ) . to . deep . equal ( TEST_RESPONSE . data . users ) ;
504491 expect ( stub ) . to . have . been . calledOnce . and . calledWith ( {
505492 method : 'POST' ,
506- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
507- // eslint-disable-next-line max-len
508- // TODO: CHANGE THIS BACK TO PROD - AUTOPUSH IS ONLY USED FOR LOCAL TESTING BEFORE CHANGES PROPAGATE TO PROD
509- // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
510- url : `https://autopush-firebasedataconnect.sandbox.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateMutation` ,
493+ url : `https://firebasedataconnect.googleapis.com/v1/projects/test-project/locations/${ connectorConfig . location } /services/${ connectorConfig . serviceId } /connectors/${ connectorConfig . connector } :impersonateMutation` ,
511494 headers : EXPECTED_HEADERS ,
512495 data : {
513496 operationName : 'authenticated mutation' ,
0 commit comments