fix(core): update
This commit is contained in:
@ -11,6 +11,7 @@ tap.test('should create a valid paypal instance', async () => {
|
||||
testPayPalInstance = new paypal.PayPalAccount({
|
||||
clientId: testQenv.getEnvVarOnDemand('PAYPAL_CLIENT_ID'),
|
||||
clientSecret: testQenv.getEnvVarOnDemand('PAYPAL_CLIENT_SECRET'),
|
||||
accountOwner: 'sample corp'
|
||||
});
|
||||
expect(testPayPalInstance).to.be.instanceOf(paypal.PayPalAccount);
|
||||
});
|
||||
@ -18,7 +19,7 @@ tap.test('should create a valid paypal instance', async () => {
|
||||
tap.test('should get an access token', async () => {
|
||||
const transactions = await testPayPalInstance.getTransactionsFromTo(
|
||||
smarttime.ExtendedDate.fromHyphedDate('2020-01-01').getTime(),
|
||||
smarttime.ExtendedDate.fromHyphedDate('2020-08-01').getTime(),
|
||||
smarttime.ExtendedDate.fromHyphedDate('2020-08-01').getTime()
|
||||
);
|
||||
console.log(transactions);
|
||||
});
|
||||
|
Reference in New Issue
Block a user