Skip to content

Commit

Permalink
test: add url assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
danbillson committed Nov 21, 2024
1 parent fd85b36 commit 1a64a60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ export const CustomerPortalSessionMockResponse: Response<ICustomerPortalSessionR
request_id: '',
},
};

1 change: 1 addition & 0 deletions src/__tests__/resources/customer-portal-sessions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ describe('CustomerPortalSessionsResource', () => {
expect(createdCustomerPortalSession).toBeDefined();
expect(createdCustomerPortalSession.id).toBeDefined();
expect(createdCustomerPortalSession.customerId).toBe(customerId);
expect(createdCustomerPortalSession.urls.subscriptions[0].id).toBe(subscriptionIds[0]);
});
});

0 comments on commit 1a64a60

Please sign in to comment.