-
Notifications
You must be signed in to change notification settings - Fork 2
[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
base: main
Are you sure you want to change the base?
Conversation
994dbb7
to
5c28b4c
Compare
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.
The commit message is still wrong.
The commit message should not exceed 80 characters long. |
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 !
d362210
to
b1f12c7
Compare
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.
IMHO, you should try merge the 2 first commits together. |
override settings before test to add joanie catalog base url and use it in footer mail template