mirror of
https://github.com/pcvolkmer/etl-processor.git
synced 2025-04-19 09:16:51 +00:00
fix: use patient pseudonym value
This commit is contained in:
parent
b25e580113
commit
262c54f2e5
@ -61,7 +61,7 @@ class RestMtbFileSenderTest {
|
||||
fun shouldReturnExpectedResponseForDelete(requestWithResponse: RequestWithResponse) {
|
||||
this.mockRestServiceServer
|
||||
.expect(method(HttpMethod.DELETE))
|
||||
.andExpect(requestTo("http://localhost:9000/patient/$TEST_PATIENT_PSEUDONYM"))
|
||||
.andExpect(requestTo("http://localhost:9000/patient/${TEST_PATIENT_PSEUDONYM.value}"))
|
||||
.andRespond {
|
||||
withStatus(requestWithResponse.httpStatus).body(requestWithResponse.body).createResponse(it)
|
||||
}
|
||||
@ -134,7 +134,7 @@ class RestMtbFileSenderTest {
|
||||
|
||||
this.mockRestServiceServer
|
||||
.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 {
|
||||
withStatus(requestWithResponse.httpStatus).body(requestWithResponse.body).createResponse(it)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user