File tree Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Expand file tree Collapse file tree 1 file changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -503,15 +503,8 @@ describe('discovery-v1', function() {
503503 } ,
504504 noop
505505 ) ;
506- assert . equal (
507- req . uri . href ,
508- service . url +
509- paths . query +
510- '?version=' +
511- service . version + // query string params order changed, shouldn't be a problem for the service...
512- '&filter=yesplease&natural_language_query=a%20question%20about%20stuff%20and%20things&passages=true&count=10&sort=%2Bfield_1%2C-field_2'
513- ) ;
514- assert . equal ( req . method , 'GET' ) ;
506+ assert . equal ( req . uri . href , service . url + paths . query + '?version=' + service . version ) ;
507+ assert . equal ( req . method , 'POST' ) ;
515508 } ) ;
516509
517510 it ( 'should perform a query for notices' , function ( ) {
@@ -552,13 +545,9 @@ describe('discovery-v1', function() {
552545 ) ;
553546 assert . equal (
554547 req . uri . href ,
555- service . url +
556- paths . federatedquery +
557- '?version=' +
558- service . version + // query string params order changed, shouldn't be a problem for the service...
559- '&collection_ids=col1-guid%2Ccol2-guid&filter=yesplease&natural_language_query=a%20question%20about%20stuff%20and%20things&count=10&sort=%2Bfield_1%2C-field_2'
548+ service . url + paths . federatedquery + '?version=' + service . version
560549 ) ;
561- assert . equal ( req . method , 'GET ' ) ;
550+ assert . equal ( req . method , 'POST ' ) ;
562551 } ) ;
563552
564553 it ( 'should perform a federated query for notices' , function ( ) {
You can’t perform that action at this time.
0 commit comments