Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mpaktiti
Copy link
Contributor

@mpaktiti mpaktiti commented Oct 8, 2019

Resolves: #5689
Impact: minor
Type: test

This PR adds: an integration test file for orderByReferenceId query.

We test whether an order is successfully returned, given an orderReferenceId and a shopId. Here is the schema for this query. We test for logged-in and anonymous users (setLoggedInUser will fake as if your auth token is for that user).

Testing Instructions:

npm install --save-dev jest-cli
npm run lint
npm run test

Copy link
Contributor

@focusaurus focusaurus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Signed-off-by: Maria Paktiti <[email protected]>
Signed-off-by: Maria Paktiti <[email protected]>
@aldeed aldeed merged commit f667bd9 into develop Oct 28, 2019
@aldeed aldeed deleted the test-mpaktiti-orderByReferenceId-integration branch October 28, 2019 21:15
This was referenced Oct 31, 2019
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.

6 participants