test discount card finding (using valid customer id)
Write a test for finding customers discount cards. Try with various amounts of discount cards. (Their timeframes are not allowed to overlap though)
- Make sure that they are ordered by validFrom.
- Validate that the right cards are returned and the response code is 200.
- For a customer with no discount cards the response should be 404 Customer doesnt exist or no card found
Edited by Roman Vuskov