Skip to content

Commit a1d60ec

Browse files
Remove tests for endpoints that were removed (#2281)
1 parent 812fcb7 commit a1d60ec

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

test/resources/SubscriptionItems.spec.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -82,36 +82,4 @@ describe('SubscriptionItems Resource', () => {
8282
});
8383
});
8484
});
85-
86-
describe('createUsageRecord', () => {
87-
it('Sends the correct request', () => {
88-
const data = {
89-
quantity: 123,
90-
timestamp: 123321,
91-
action: 'increment',
92-
};
93-
stripe.subscriptionItems.createUsageRecord('si_123', data);
94-
expect(stripe.LAST_REQUEST).to.deep.equal({
95-
method: 'POST',
96-
url: '/v1/subscription_items/si_123/usage_records',
97-
headers: {},
98-
data,
99-
settings: {},
100-
});
101-
});
102-
});
103-
104-
describe('listUsageRecordSummaries', () => {
105-
it('Sends the correct request', () => {
106-
stripe.subscriptionItems.listUsageRecordSummaries('si_123', {});
107-
108-
expect(stripe.LAST_REQUEST).to.deep.equal({
109-
method: 'GET',
110-
url: '/v1/subscription_items/si_123/usage_record_summaries',
111-
headers: {},
112-
data: null,
113-
settings: {},
114-
});
115-
});
116-
});
11785
});

0 commit comments

Comments
 (0)