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

Skip to content

Conversation

@machikoyasuda
Copy link
Contributor

@machikoyasuda machikoyasuda commented Oct 7, 2019

Resolves #5690
Impact: minor
Type: tests

Issue

No tests for ordersByAccountId

Solution

Add tests for ordersByAccountId:

  • successfully return 1 order
  • successfully return 10 orders
  • successfully return orders with a specific order status
  • invalid param error

Breaking changes

none

Testing

docker-compose run --rm reaction yarn run test:file tests/integration/api/queries/ordersByAccountId/ordersByAccountId.test.js

@machikoyasuda machikoyasuda changed the base branch from master to develop October 7, 2019 23:54
@machikoyasuda machikoyasuda force-pushed the test-machiko-orderbyaccountid branch from bcb1bd6 to 15c68e4 Compare October 8, 2019 20:22
@machikoyasuda machikoyasuda marked this pull request as ready for review October 9, 2019 00:40
Copy link
Contributor

@mpaktiti mpaktiti left a comment

Choose a reason for hiding this comment

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

looks good!

Machiko Yasuda added 3 commits October 11, 2019 10:03
Signed-off-by: Machiko Yasuda <[email protected]>
Signed-off-by: Machiko Yasuda <[email protected]>
@machikoyasuda machikoyasuda changed the base branch from develop to release-3.0.0 October 17, 2019 20:49
@aldeed aldeed changed the base branch from release-3.0.0 to develop October 21, 2019 18:31
Copy link
Contributor

@aldeed aldeed left a comment

Choose a reason for hiding this comment

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

This looks good but one suggestion that I think will make one test stronger.

@aldeed aldeed mentioned this pull request Oct 21, 2019
@machikoyasuda machikoyasuda force-pushed the test-machiko-orderbyaccountid branch from 58a469a to 5019430 Compare October 24, 2019 21:41
Signed-off-by: Machiko Yasuda <[email protected]>
@machikoyasuda
Copy link
Contributor Author

@chrispotter @aldeed Thanks for the code reviews! I resolved both issues and everything is green.

@machikoyasuda machikoyasuda requested a review from aldeed October 24, 2019 23:38
@machikoyasuda machikoyasuda changed the base branch from develop to release-3.0.0 October 25, 2019 04:20
@machikoyasuda machikoyasuda changed the base branch from release-3.0.0 to develop October 25, 2019 04:21
@chrispotter
Copy link

great job @machikoyasuda!

@machikoyasuda
Copy link
Contributor Author

@aldeed Should this PR go into develop or release-3.0?

@aldeed
Copy link
Contributor

aldeed commented Oct 28, 2019

@machikoyasuda Yes develop. After we get them all into develop I'll do one PR copying them all into 3.0.0 branch.

@aldeed aldeed merged commit 11d1e9a into develop Oct 28, 2019
@aldeed aldeed deleted the test-machiko-orderbyaccountid 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