Skip to content

#161698887 get the number of delivered orders for specific user#8

Open
mnswaleh wants to merge 1 commit into
ft-change-delivery-location-161698854from
ft-get-number-of-delivered-161698887
Open

#161698887 get the number of delivered orders for specific user#8
mnswaleh wants to merge 1 commit into
ft-change-delivery-location-161698854from
ft-get-number-of-delivered-161698887

Conversation

@mnswaleh

@mnswaleh mnswaleh commented Nov 8, 2018

Copy link
Copy Markdown
Owner

What does this PR do?

gets the number of delivered orders created by a specific user

Description of Task to be completed?

should have:
1 model method to get the number of delivery orders
2 GET /users//delivered endpoint

How should this be manually tested?

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

What are the relevant pivotal tracker stories?

#161698887

Screenshots (if appropriate)

screenshot from 2018-11-08 13-11-32
screenshot from 2018-11-08 13-12-30

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