@@ -337,7 +337,7 @@ describe('Namespaces', () => {
337337 amadeus . client . post = jest . fn ( ) ;
338338 amadeus . shopping . flightOffers . prediction . post ( ) ;
339339 expect ( amadeus . client . post )
340- . toHaveBeenCalledWith ( '/v2/shopping/flight-offers/prediction' , { } ) ;
340+ . toHaveBeenCalledWith ( '/v2/shopping/flight-offers/prediction' , JSON . stringify ( { } ) ) ;
341341 } ) ;
342342
343343 it ( '.amadeus.booking.flightOrders.post' , ( ) => {
@@ -445,14 +445,14 @@ describe('Namespaces', () => {
445445 amadeus . client . post = jest . fn ( ) ;
446446 amadeus . booking . hotelBookings . post ( ) ;
447447 expect ( amadeus . client . post )
448- . toHaveBeenCalledWith ( '/v1/booking/hotel-bookings' , { } ) ;
448+ . toHaveBeenCalledWith ( '/v1/booking/hotel-bookings' , JSON . stringify ( { } ) ) ;
449449 } ) ;
450450
451451 it ( '.amadeus.booking.hotelOrders.post' , ( ) => {
452452 amadeus . client . post = jest . fn ( ) ;
453453 amadeus . booking . hotelOrders . post ( ) ;
454454 expect ( amadeus . client . post )
455- . toHaveBeenCalledWith ( '/v2/booking/hotel-orders' , { } ) ;
455+ . toHaveBeenCalledWith ( '/v2/booking/hotel-orders' , JSON . stringify ( { } ) ) ;
456456 } ) ;
457457
458458 it ( '.amadeus.eReputation.hotelSentiments.get' , ( ) => {
0 commit comments