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() {
503
503
} ,
504
504
noop
505
505
) ;
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' ) ;
515
508
} ) ;
516
509
517
510
it ( 'should perform a query for notices' , function ( ) {
@@ -552,13 +545,9 @@ describe('discovery-v1', function() {
552
545
) ;
553
546
assert . equal (
554
547
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
560
549
) ;
561
- assert . equal ( req . method , 'GET ' ) ;
550
+ assert . equal ( req . method , 'POST ' ) ;
562
551
} ) ;
563
552
564
553
it ( 'should perform a federated query for notices' , function ( ) {
You can’t perform that action at this time.
0 commit comments