mirror of
https://github.com/pcvolkmer/mv64e-etl-processor
synced 2025-09-13 09:02:50 +00:00
fix: use patient pseudonym value
This commit is contained in:
@@ -61,7 +61,7 @@ class RestMtbFileSenderTest {
|
|||||||
fun shouldReturnExpectedResponseForDelete(requestWithResponse: RequestWithResponse) {
|
fun shouldReturnExpectedResponseForDelete(requestWithResponse: RequestWithResponse) {
|
||||||
this.mockRestServiceServer
|
this.mockRestServiceServer
|
||||||
.expect(method(HttpMethod.DELETE))
|
.expect(method(HttpMethod.DELETE))
|
||||||
.andExpect(requestTo("http://localhost:9000/patient/$TEST_PATIENT_PSEUDONYM"))
|
.andExpect(requestTo("http://localhost:9000/patient/${TEST_PATIENT_PSEUDONYM.value}"))
|
||||||
.andRespond {
|
.andRespond {
|
||||||
withStatus(requestWithResponse.httpStatus).body(requestWithResponse.body).createResponse(it)
|
withStatus(requestWithResponse.httpStatus).body(requestWithResponse.body).createResponse(it)
|
||||||
}
|
}
|
||||||
@@ -134,7 +134,7 @@ class RestMtbFileSenderTest {
|
|||||||
|
|
||||||
this.mockRestServiceServer
|
this.mockRestServiceServer
|
||||||
.expect(expectedCount, method(HttpMethod.DELETE))
|
.expect(expectedCount, method(HttpMethod.DELETE))
|
||||||
.andExpect(requestTo("http://localhost:9000/patient/$TEST_PATIENT_PSEUDONYM"))
|
.andExpect(requestTo("http://localhost:9000/patient/${TEST_PATIENT_PSEUDONYM.value}"))
|
||||||
.andRespond {
|
.andRespond {
|
||||||
withStatus(requestWithResponse.httpStatus).body(requestWithResponse.body).createResponse(it)
|
withStatus(requestWithResponse.httpStatus).body(requestWithResponse.body).createResponse(it)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user