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

#160239657 User should be able to update order status #26

Merged
merged 1 commit into from Sep 7, 2018

Conversation

akhilome
Copy link
Owner

@akhilome akhilome commented Sep 7, 2018

What does this PR do?

creates API endpoint users can interact with to change the status of an existing order

Description of Task to be completed?

  • write unit tests for PUT /api/v1/orders/
  • write code to make test pass

How should this be manually tested?

  • After cloning the repo, run npm test in the project's directory
  • Also, you can fire up postman, start the project by running npm start, and test away on Postman by visiting the endpoint http://localhost:3000/api/v1/orders/<orderId>, replacing <orderId> with the id of the order you wish to update.

What are the relevant pivotal tracker stories?

#160239657

Screenshots

screenshot 2018-09-07 at 1 43 22 pm

- write unit tests for PUT /api/v1/orders/<orderId>
- write code to make test pass

[Finishes #160239657]
@coveralls
Copy link

Pull Request Test Coverage Report for Build 37

  • 30 of 30 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 34: 0.0%
Covered Lines: 212
Relevant Lines: 212

💛 - Coveralls

@akhilome akhilome merged commit 57a5f1c into develop Sep 7, 2018
@akhilome akhilome deleted the ft-update-order-status-160239657 branch September 25, 2018 18:16
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

2 participants