mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
V3 payments 7 stripe (#7124)
* payments api: cancelSubscription * some more tests for amazon payments * promisifying amazon payments * somehow payment stub is not working * cleaning up tests * renaming tests in api/v3/integration/payments * improvements * cleanup, lint * fixes as per comments * moment.zone() is back in. * basic controller for stripe payments * authWithUrl is in * stripe cleanup * making tests pass * stripe bug fixes * 400 error is right * cleanup of sinon spy for fakeSend * paypal payments * lint of paypal * require -> import
This commit is contained in:
committed by
Matteo Pagliazzi
parent
fa21577c46
commit
a567476bb7
@@ -66,10 +66,7 @@ describe('payments/index', () => {
|
||||
|
||||
it('sends a text', async () => {
|
||||
await api.cancelSubscription(data);
|
||||
sinon.assert.calledOnce(fakeSend);
|
||||
sinon.assert.called(fakeSend);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#buyGems', async () => {
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user