-
Notifications
You must be signed in to change notification settings - Fork 20
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
831 deleting stripe test connect account #832
831 deleting stripe test connect account #832
Conversation
🙌 Live preview is here: http://831-deleting-stripe-test-connect-account-id.pcpink.co.uk |
def delete_connect_account(): | ||
if os.getenv("FLASK_ENV") != "development": | ||
msg = {"msg": "Error. Only possible in development mode"} | ||
return jsonify(msg), 403 |
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.
Nice error handling , especially the 403
return code 👍 useful for debugging
@@ -184,5 +184,7 @@ test.describe("Subscribie tests:", () => { | |||
// 1. Transacion filter by name and plan title | |||
// 2. 2.A pause, resume and 2.B cancel subscription test. | |||
order_plan_with_subscription_and_upfront_charge = require('./tests/293_subscriber_order_plan_with_recurring_and_upfront_charge'); | |||
|
|||
clearing_connect_account_id = require('./tests/clear_connect_account_id.js'); |
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.
Please change to
delete_stripe_connect_account
(clear rather than clearing) , (stripe to reduce ambiguity)
@@ -0,0 +1,12 @@ | |||
const { test, expect } = require('@playwright/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.
Please git mv clear_connect_account_id.js delete_stripe_connect_account.js
Why?
Because that's what's happening - reduces ambiguity
🙌 Live preview is here: http://831-deleting-stripe-test-connect-account-id.pcpink.co.uk |
🚀 PR was released in |
🚀 PR was released in |
1 similar comment
🚀 PR was released in |
#831