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

831 deleting stripe test connect account #832

Merged
merged 3 commits into from
Mar 25, 2022

Conversation

joeltejeda
Copy link
Collaborator

@joeltejeda joeltejeda commented Mar 25, 2022

@joeltejeda joeltejeda temporarily deployed to testing March 25, 2022 07:11 Inactive
@github-actions
Copy link

🙌 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
Copy link
Contributor

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');
Copy link
Contributor

@chrisjsimpson chrisjsimpson Mar 25, 2022

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)

@joeltejeda

@@ -0,0 +1,12 @@
const { test, expect } = require('@playwright/test');
Copy link
Contributor

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

@joeltejeda joeltejeda temporarily deployed to testing March 25, 2022 19:31 Inactive
@github-actions
Copy link

🙌 Live preview is here: http://831-deleting-stripe-test-connect-account-id.pcpink.co.uk

@joeltejeda joeltejeda merged commit e43041f into master Mar 25, 2022
@github-actions
Copy link

🚀 PR was released in v0.1.53 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Mar 25, 2022
@github-actions
Copy link

🚀 PR was released in v0.1.53 🚀

1 similar comment
@github-actions
Copy link

🚀 PR was released in v0.1.53 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants