Skip to content

Commit

Permalink
feat: fixes tests where an array has to have unique enum values (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Sep 6, 2023
1 parent 201acee commit 0aa1909
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/api-resources/counterparties.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ describe('resource counterparties', () => {
const response = await modernTreasury.counterparties.collectAccount('string', {
direction: 'credit',
custom_redirect: 'https://example.com',
fields: ['name', 'name', 'name'],
fields: ['name', 'nameOnAccount', 'taxpayerIdentifier'],
send_email: true,
});
});
Expand Down
2 changes: 1 addition & 1 deletion tests/api-resources/external-accounts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ describe('resource externalAccounts', () => {
await expect(
modernTreasury.externalAccounts.completeVerification(
'string',
{ amounts: [0, 0] },
{ amounts: [2, 4] },
{ path: '/_stainless_unknown_path' },
),
).rejects.toThrow(ModernTreasury.NotFoundError);
Expand Down

0 comments on commit 0aa1909

Please sign in to comment.