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

Missing methods for dealing with TestClocks #574

Closed
cowlicks opened this issue Jul 22, 2024 · 2 comments · Fixed by #579
Closed

Missing methods for dealing with TestClocks #574

cowlicks opened this issue Jul 22, 2024 · 2 comments · Fixed by #579
Labels

Comments

@cowlicks
Copy link

cowlicks commented Jul 22, 2024

The TestHelpersTestClock struct exists and there are enum variants receiving various test clock events. But there is no way to create, retreive, list, delete, or advance test clocks. The API is documented here: https://docs.stripe.com/api/test_clocks/object?lang=curl

I want to be able to test subscriptions renewal etc using this library, but I can't.

Thank you!

@arlyon
Copy link
Owner

arlyon commented Jul 23, 2024

Hey! I would be very happy to accept a PR that does this if you have the time and would like to contribute.

Otherwise, we are in the process of releasing a full rewrite so I will only be able to prioritise this after that lands.

Cheers

Alex

augustoccesar added a commit to augustoccesar/async-stripe that referenced this issue Jul 26, 2024
augustoccesar added a commit to augustoccesar/async-stripe that referenced this issue Jul 26, 2024
@arlyon arlyon closed this as completed in d792798 Jul 31, 2024
arlyon pushed a commit that referenced this issue Jul 31, 2024
# [0.38.0](v0.37.3...v0.38.0) (2024-07-31)

### Features

* add support for TestClock operations ([d792798](d792798)), closes [#574](#574)
@arlyon
Copy link
Owner

arlyon commented Jul 31, 2024

🎉 This issue has been resolved in version 0.38.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants