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
cartSummarize endpoint (/{channelCode}/carts/{token} get) allows to access any order regardless of state. It should only allow to access orders in cart state.
…, lchrusciel)
This PR was merged into the 1.0-dev branch.
Discussion
----------
- Also added local phpunit config to the `.gitignore`
Closes#438
Commits
-------
86aeaa9 Adding a test for preventing regression
8d8cfb4 Fixing the tests
44b274f Fixed tests again
d2d98ac Fixing the cart query
7192eb4 Removing repository test
3e63a4d Fixed coding style
3f1d3a2 Implementing the suggestions from @GSadeef44c1e5 Fixing fixtures
1cc6ac6 Adding tests back in
0e445e4 [Tests] Fix placed order creation in test env
cartSummarize endpoint (/{channelCode}/carts/{token} get) allows to access any order regardless of state. It should only allow to access orders in cart state.
cartSummarize_response.json.zip is a response to a random order created by fixtures data to the endpoint:
GET http://127.0.0.1:8000/shop-api/US_WEB/carts/pcBfQSkq8t
The text was updated successfully, but these errors were encountered: