issues
search
CSCI-GA-2820-FA24-001
/
inventory
NYU DevOps Inventory Service Fall 2024
Apache License 2.0
1
stars
0
forks
source link
Update endpoint and tests
#21
Closed
haardikdharma10
closed
1 week ago
haardikdharma10
commented
1 week ago
This PR -
Modifies
condition
and
stock_level
fields in the
Inventory
Model to be of type
Enum
.
Adds a new endpoint to update an inventory item.
Adds test for the update endpoint.
Adds tests for exception handling and mock data.
Increases overall test coverage from 70% to 88%.
This PR -
condition
andstock_level
fields in theInventory
Model to be of typeEnum
.