1
0

add CustomerControllerRestTest and -UnitTest

This commit is contained in:
Michael Hoennig
2022-07-30 18:17:45 +02:00
parent 2610ecd311
commit fe4fef2752
5 changed files with 121 additions and 3 deletions

View File

@ -21,7 +21,7 @@ public class CustomerController {
private CustomerRepository customerRepository;
@ResponseBody
@RequestMapping(value = "/api/customer", method = RequestMethod.GET)
@RequestMapping(value = "/api/customers", method = RequestMethod.GET)
@Transactional
public List<CustomerEntity> listCustomers(
@RequestHeader(value = "current-user") String userName,