diff options
| author | Paul-Christian Volkmer | 2025-03-08 10:55:30 +0100 |
|---|---|---|
| committer | Paul-Christian Volkmer | 2025-03-08 11:42:14 +0100 |
| commit | 262c54f2e54652ea5f6d2cbc30ee381b415dbec8 (patch) | |
| tree | 29077d6cffd85d69ec7570d551153f98198da9e6 /src/test/kotlin/dev/dnpm/etl | |
| parent | b25e58011371d5271f4db240545208dd6c792ff0 (diff) | |
fix: use patient pseudonym value
Diffstat (limited to 'src/test/kotlin/dev/dnpm/etl')
| -rw-r--r-- | src/test/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSenderTest.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSenderTest.kt b/src/test/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSenderTest.kt index b3a87b0..7fd5259 100644 --- a/src/test/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSenderTest.kt +++ b/src/test/kotlin/dev/dnpm/etl/processor/output/RestMtbFileSenderTest.kt @@ -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) } |
