Skip to content

Commit

Permalink
Adjusted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
moser4035 committed Sep 21, 2017
1 parent 752ca89 commit e29a6e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/account/billing/invoices.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('account', () => {
const offset = 15;
const expectedGetParameters = '\\?limit\=' + limit + '\&offset=' + offset;

assertItCallsCorrectUrl('GET', '/v1/account/billing/invoices/encoding' + expectedGetParameters, () => client.player.list(limit, offset));
assertItCallsCorrectUrl('GET', '/v1/account/billing/invoices/player' + expectedGetParameters, () => client.player.list(limit, offset));
assertItReturnsUnderlyingPromise(mockGet, client.encoding.list);
});
});
Expand All @@ -59,7 +59,7 @@ describe('account', () => {
const offset = 15;
const expectedGetParameters = '\\?limit\=' + limit + '\&offset=' + offset;

assertItCallsCorrectUrl('GET', '/v1/account/billing/invoices/encoding' + expectedGetParameters, () => client.analytics.list(limit, offset));
assertItCallsCorrectUrl('GET', '/v1/account/billing/invoices/analytics' + expectedGetParameters, () => client.analytics.list(limit, offset));
assertItReturnsUnderlyingPromise(mockGet, client.encoding.list);
});
});
Expand Down

0 comments on commit e29a6e8

Please sign in to comment.