Skip to content

Fix billing tests to pass if default provider id != 2#1021

Open
mdujava wants to merge 1 commit into
3scale-qe:mainfrom
mdujava:billing_default_customer.id
Open

Fix billing tests to pass if default provider id != 2#1021
mdujava wants to merge 1 commit into
3scale-qe:mainfrom
mdujava:billing_default_customer.id

Conversation

@mdujava
Copy link
Copy Markdown
Member

@mdujava mdujava commented Mar 23, 2026

No description provided.

@mdujava mdujava requested a review from a team as a code owner March 23, 2026 18:48
@mdujava mdujava added the to_backport Commits to be backported to stable branches label Mar 23, 2026
cathal-bailey
cathal-bailey previously approved these changes Mar 25, 2026
Copy link
Copy Markdown
Collaborator

@mastastny mastastny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the test_mail_completed_payment there is subject hardcoded to default tenant with name "Provider Name", so if we use private_tenant, the test fails. I would change it to:
subject=f"{provider_account['org_name']} API - Payment completed"

Also for the private_tenant the normalize_url function doesn't work well and the replacement should be changed from this:("3scale-admin", "3scale") to this: ("-admin.", ".").

@mdujava mdujava force-pushed the billing_default_customer.id branch from d9ad2e4 to 5aecee3 Compare April 23, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

to_backport Commits to be backported to stable branches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants