-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE #32871] adding integration tests for UpdatedCursorIncrementalS… #33597
[ISSUE #32871] adding integration tests for UpdatedCursorIncrementalS… #33597
Conversation
…tripeStream empty streams
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
@@ -0,0 +1,34 @@ | |||
{ | |||
"object": "list", | |||
"url": "/v1/accounts/acct_1032D82eZvKYlo2C/external_accounts", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the fact that this is not the real URL that is being poked but no behavior rely on this so I don't think it's worth fixing now. The same applies for external_bank_accounts.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why can't we have a real request with the actual API? Is it because there's no data in our account?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The concern comes from the fact that the id in "/v1/accounts/<id>/external_accounts"
depends on the parent stream. However, we don't use this field in our logic so there is no need really to make sure the values are align with the parent in the test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment explaining that here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is JSON so I don't think I can add one specifically in this file. As it is only use in test_external_account_cards
, I'll add that there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! One small request.
7b4adce
into
issue-32871/test_other_incremental_stripe_stream
…tripeStream empty streams
What
Adding integration tests for all the UpdatedCursorIncrementalStripeStream that are empty streams.
How
There are two classes of UpdatedCursorIncrementalStripeStream:
external_account_cards
andexternal_account_bank_accounts
payment_methods
andearly_fraud_warnings