API 1.2.1+1 CORS
This commit is contained in:
parent
020ce1e6f8
commit
bdbfe1cd48
@ -58,7 +58,7 @@ class CustomerTests {
|
|||||||
|
|
||||||
val id2: Long = 90
|
val id2: Long = 90
|
||||||
val controller = CustomerController(customerRepository)
|
val controller = CustomerController(customerRepository)
|
||||||
val response = controller.getCustomerById(id2, HttpHeaders.EMPTY)
|
val response = controller.getCustomerById(id2)
|
||||||
|
|
||||||
val customer2: Customer = response.body as Customer
|
val customer2: Customer = response.body as Customer
|
||||||
assertNotNull (customer2)
|
assertNotNull (customer2)
|
||||||
|
Loading…
Reference in New Issue
Block a user