You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User should be able to GET a list, and GET a single item.
When an order is deleted, every line item (i.e. entry in OrderProduct) should be removed
Should be able to filter out completed orders with the ?completed=false query string parameter. If the parameter value is true, then only completed order should be returned.
If the query string parameter of ?_include=products is in the URL, then the list of products in the order should be returned.
If the query string parameter of ?_include=customers is in the URL, then the customer representation should be included in the response.
Testing Criteria
Write a testing class and test methods that validate the GET, POST, PUT, and DELETE operations work as expected.
The text was updated successfully, but these errors were encountered:
Feature Criteria
Verbs to be supported
?completed=false
query string parameter. If the parameter value istrue
, then only completed order should be returned.?_include=products
is in the URL, then the list of products in the order should be returned.?_include=customers
is in the URL, then the customer representation should be included in the response.Testing Criteria
Write a testing class and test methods that validate the GET, POST, PUT, and DELETE operations work as expected.
The text was updated successfully, but these errors were encountered: