-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Tests-Only]used environment variable for language setup #38432
Conversation
91c3eb8
to
fbbf33c
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.
Lgtm ✌️
Kudos, SonarCloud Quality Gate passed! |
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.
LGTM 👍
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.
looks good for me, but I would like to have a discussion or review from @phil-davis before merging it
Description
used environment variable
OC_LANGUAGE
for language setup. Now, requests are made with the accepted language of that environment variable. And, while comparing the status message in response, we convert English toOC_LANGUAGE
using the fixture filemultiLanguageErrors.json
and assert accordingly.We shall need to add more data on the fixture
multiLanguageErrors.json
if we want to increase the scope of multiple language API tests.Related Issue
How Has This Been Tested?
Types of changes
Checklist: