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

adds integration test updateGlobalSettings mutation #5970

Merged
merged 11 commits into from Jan 7, 2020

Conversation

willopez
Copy link
Member

Resolves #5950
Impact: minor
Type: chore | test

Summary

Adds integration test for updateGlobalSettings mutation

Signed-off-by: Will Lopez <will.lopez77@gmail.com>
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
@kieckhafer
Copy link
Member

This seems like the same issue here: #5974 (comment)

Signed-off-by: Will Lopez <will.lopez77@gmail.com>
@willopez
Copy link
Member Author

@kieckhafer This a new issue, I believe the root cause it the fact that the shopId is undefined for global settings, and that case is not currently handled in the validatePermissions function

settings

Signed-off-by: Will Lopez <will.lopez77@gmail.com>
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
@willopez willopez requested review from aldeed and removed request for kieckhafer January 2, 2020 22:46
@willopez willopez marked this pull request as ready for review January 2, 2020 22:46
Signed-off-by: Will Lopez <will.lopez77@gmail.com>
@aldeed aldeed merged commit 989ae9c into release-3.0.0 Jan 7, 2020
@aldeed aldeed deleted the chore-integration-test-updateGlobalSettings branch January 7, 2020 17:35
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.

None yet

3 participants