Skip to content
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

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

MohanNarayana
Copy link
Contributor

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.

Copy link
Contributor

@Akarshit Akarshit left a 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{
Copy link
Contributor

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";
Copy link
Contributor

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.

Copy link
Contributor

@Akarshit Akarshit left a 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.

@MohanNarayana MohanNarayana changed the title fix: Write integration test for create shop fix: write integration test for create shop Feb 1, 2021
Copy link
Contributor

@Akarshit Akarshit left a 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.

@MohanNarayana MohanNarayana force-pushed the fix-6147-mohan-create-shop-integration-test branch from 3f69aae to 1093d7a Compare February 1, 2021 17:08
Signed-off-by: Mohan Narayana <[email protected]>
@MohanNarayana MohanNarayana force-pushed the fix-6147-mohan-create-shop-integration-test branch from 1093d7a to 1cd7bf3 Compare February 1, 2021 17:27
@MohanNarayana MohanNarayana merged commit 2115491 into trunk Feb 2, 2021
@jrw421 jrw421 mentioned this pull request Feb 3, 2021
@Akarshit Akarshit deleted the fix-6147-mohan-create-shop-integration-test branch June 23, 2021 19:27
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.

Missing field "description" in input schema in createShop mutation
2 participants