@@ -1452,52 +1452,6 @@ module.exports = (
14521452 ] )
14531453 } )
14541454
1455- it ( 'it should be successfully performed by the getPayInvoiceList method' , async function ( ) {
1456- this . timeout ( 5000 )
1457-
1458- const res = await agent
1459- . post ( `${ basePath } /json-rpc` )
1460- . type ( 'json' )
1461- . send ( {
1462- auth,
1463- method : 'getPayInvoiceList' ,
1464- params : {
1465- start : 0 ,
1466- end,
1467- limit : 2
1468- } ,
1469- id : 5
1470- } )
1471- . expect ( 'Content-Type' , / j s o n / )
1472- . expect ( 200 )
1473-
1474- assert . isObject ( res . body )
1475- assert . propertyVal ( res . body , 'id' , 5 )
1476- assert . isObject ( res . body . result )
1477- assert . isArray ( res . body . result . res )
1478- assert . isNumber ( res . body . result . nextPage )
1479-
1480- const resItem = res . body . result . res [ 0 ]
1481-
1482- assert . isObject ( resItem )
1483- assert . containsAllKeys ( resItem , [
1484- 'id' ,
1485- 't' ,
1486- 'duration' ,
1487- 'amount' ,
1488- 'currency' ,
1489- 'orderId' ,
1490- 'payCurrencies' ,
1491- 'webhook' ,
1492- 'redirectUrl' ,
1493- 'status' ,
1494- 'customerInfo' ,
1495- 'invoices' ,
1496- 'payment' ,
1497- 'merchantName'
1498- ] )
1499- } )
1500-
15011455 it ( 'it should be successfully performed by the getTrades method' , async function ( ) {
15021456 this . timeout ( 5000 )
15031457
@@ -2767,34 +2721,6 @@ module.exports = (
27672721 await testMethodOfGettingReportFile ( procPromise , aggrPromise , res )
27682722 } )
27692723
2770- it ( 'it should be successfully performed by the getPayInvoiceListFile method' , async function ( ) {
2771- this . timeout ( 60000 )
2772-
2773- const procPromise = queueToPromise ( params . processorQueue )
2774- const aggrPromise = queueToPromise ( params . aggregatorQueue )
2775-
2776- const res = await agent
2777- . post ( `${ basePath } /json-rpc` )
2778- . type ( 'json' )
2779- . send ( {
2780- auth,
2781- method : 'getPayInvoiceListFile' ,
2782- params : {
2783- isPDFRequired,
2784- end,
2785- start,
2786- limit : 100 ,
2787- timezone : - 3 ,
2788- email
2789- } ,
2790- id : 5
2791- } )
2792- . expect ( 'Content-Type' , / j s o n / )
2793- . expect ( 200 )
2794-
2795- await testMethodOfGettingReportFile ( procPromise , aggrPromise , res )
2796- } )
2797-
27982724 it ( 'it should be successfully performed by the getTradesFile method' , async function ( ) {
27992725 this . timeout ( 60000 )
28002726
0 commit comments