-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
fix: write integration test for create shop #6318
fix: write integration test for create shop #6318
Conversation
Signed-off-by: Mohan Narayana <[email protected]>
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.
Great job! Just a few small lint issues.
shopType | ||
timezone | ||
language | ||
currency{ |
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.
missing space.
@@ -0,0 +1,157 @@ | |||
import importAsString from "@reactioncommerce/api-utils/importAsString.js"; | |||
import Factory from "/tests/util/factory.js"; | |||
import { importPluginsJSONFile, ReactionTestAPICore } from "@reactioncommerce/api-core"; |
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.
Import order needs to be changed.
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.
@MohanNarayana The commit message might break things. Can you please update that to follow the specification.
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.
@MohanNarayana I think you mistakenly fixed the PR title, I was talking about the commit message.
3f69aae
to
1093d7a
Compare
Signed-off-by: Mohan Narayana <[email protected]>
1093d7a
to
1cd7bf3
Compare
Signed-off-by: Mohan Narayana [email protected]
Resolves #6147
Impact: minor
Type: test
Summary
The fix for this issue is already in place. Adding integration test for the Create Shop workflow.