Skip to content

[DONE] improve orders admin api refund test #1088

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ptitloup
Copy link

override settings before test to add joanie catalog base url and use it in footer mail template

@ptitloup ptitloup self-assigned this Apr 25, 2025
@ptitloup ptitloup force-pushed the ptitloup/improve_test_orders_refund branch 3 times, most recently from 994dbb7 to 5c28b4c Compare April 29, 2025 09:14
@ptitloup ptitloup requested a review from kernicPanel April 29, 2025 09:20
Copy link
Member

@kernicPanel kernicPanel left a comment

Choose a reason for hiding this comment

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

The commit message is still wrong.

@jonathanreveille
Copy link
Member

jonathanreveille commented Apr 29, 2025

The commit message should not exceed 80 characters long.

Nicolas CAN added 2 commits May 9, 2025 15:50
Fix a failing flaky unit test on refund an order
when its state is canceled.
Once a refund is requested an email should be sent
to notify the user.
The content email based on mjml templates and the
footer part use a variable to fill the catalog base url.
None as default, we override it with the override_settings
before function definition to check its value.
After my first commit of ma contribution,
my dear collegue show me how to improve the linting of a string.
Due to the awesome circle ci, I have to write a long text to
explain why I just add a double quote and a return line.
It's wonderful !
@ptitloup ptitloup force-pushed the ptitloup/improve_test_orders_refund branch from d362210 to b1f12c7 Compare May 9, 2025 13:53
@ptitloup ptitloup requested a review from kernicPanel May 9, 2025 14:04
Copy link
Member

@kernicPanel kernicPanel left a comment

Choose a reason for hiding this comment

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

  • There should be only one commit here.

  • Also, there something strange with your commits there is 2 authors:
    image

  • Please don't use tags on pull requests titles

@jonathanreveille
Copy link
Member

IMHO, you should try merge the 2 first commits together.
The last commit should not be present "Merge branch 'main' into ptitloup/improve_test_orders_refund".

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

Successfully merging this pull request may close these issues.

3 participants