Skip to content

#161698868 get the number of orders in transit for user#9

Open
mnswaleh wants to merge 1 commit into
ft-get-number-of-delivered-161698887from
ft-get-number-of-orders-in-transit-161698868
Open

#161698868 get the number of orders in transit for user#9
mnswaleh wants to merge 1 commit into
ft-get-number-of-delivered-161698887from
ft-get-number-of-orders-in-transit-161698868

Conversation

@mnswaleh

@mnswaleh mnswaleh commented Nov 8, 2018

Copy link
Copy Markdown
Owner

What does this PR do?

gets the number of orders in transit created by a specific user

Description of Task to be completed?

should have:
1 model method to get the number of orders in transit
2 GET /users//in-transit endpoint

How should this be manually tested?

1 on postman, enter url http://127.0.0.1:5000/api/v1/users/1/in-transit
2 send get request
3 should return the number of orders in transit created by user 1
4 response code is 200
5 run pytest, the test should pass

What are the relevant pivotal tracker stories?

#161698868

Screenshots (if appropriate)

screenshot from 2018-11-08 13-57-33
screenshot from 2018-11-08 13-58-46

@mnswaleh
mnswaleh temporarily deployed to apisendit November 9, 2018 08:31 Inactive
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.

1 participant