Skip to content

Commit 947516c

Browse files
committed
Add test for cash balance methods.
1 parent 702c1f1 commit 947516c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/resources/generated_examples_test.spec.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,18 @@ describe('Apps.Secret', function() {
877877
});
878878
});
879879

880+
describe('CashBalance', function() {
881+
it('retrieveCashBalance method', async function() {
882+
const cashBalance = await stripe.customers.retrieveCashBalance('cus_123');
883+
expect(cashBalance).not.to.be.null;
884+
});
885+
886+
it('updateCashBalance method', async function() {
887+
const cashBalance = await stripe.customers.updateCashBalance('cus_123');
888+
expect(cashBalance).not.to.be.null;
889+
});
890+
});
891+
880892
describe('Charge', function() {
881893
it('create method', async function() {
882894
const charge = await stripe.charges.create({

0 commit comments

Comments
 (0)