Skip to content
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

Fix two issues with List tests #675

Merged
merged 1 commit into from
Aug 28, 2018
Merged

Conversation

remi-stripe
Copy link
Contributor

  • Ensure that subscription_item is not sent as a parameter when listing usage record summaries
  • Update the test for usage record summary
  • Fix the bank account list test for Accounts to pass the right parameter

r? @brandur-stripe
cc @stripe/api-libraries

* Ensure that `subscription_item` is not sent as a parameter when listing
usage record summaries
* Update the test for usage record summary
* Fix the bank account list test for Accounts to pass the right parameter
@brandur-stripe
Copy link
Contributor

brandur-stripe commented Aug 28, 2018

LGTM.

Ensure that subscription_item is not sent as a parameter when listing usage record summaries

Just for release purposes: was this "just" wrong, or was it causing a problem?

@remi-stripe
Copy link
Contributor Author

Fairly sure it was wrong and the API would have returned an error so it's likely no one used it yet. The issue is that stripe-mock did not validate extra parameters on GET requests so I did not catch it.

@brandur-stripe
Copy link
Contributor

Ah, I see! Okay, thanks.

@brandur-stripe brandur-stripe merged commit abae63d into master Aug 28, 2018
@brandur-stripe brandur-stripe deleted the remi-fix-list-tests branch August 28, 2018 20:09
@brandur-stripe
Copy link
Contributor

Released as 43.1.1.

nadaismail-stripe pushed a commit that referenced this pull request Oct 18, 2024
* Adding metadata keys enum

* Supporting block customization when duplicating price

* Allow enum to be passed directly when generating metadata keys

* Missing price fields

* Fix block naming to be consistent

* Todo docs update

* Fixing price typing issue

* Fix missing metadata check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants