Skip to content

Commit

Permalink
Update generated code for v309
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 24, 2023
1 parent 2693a8f commit dae33ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v296
v309
9 changes: 9 additions & 0 deletions tests/test_generated_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,15 @@ def test_plan_create(self, request_mock):
)
request_mock.assert_requested("post", "/v1/plans")

def test_plan_create2(self, request_mock):
stripe.Plan.create(
amount=2000,
currency="usd",
interval="month",
product={"name": "My product"},
)
request_mock.assert_requested("post", "/v1/plans")

def test_plan_delete(self, request_mock):
stripe.Plan.delete("price_xxxxxxxxxxxxx")
request_mock.assert_requested(
Expand Down

0 comments on commit dae33ab

Please sign in to comment.