From 992be089806cb4db74c29e67ce59f775b01d0719 Mon Sep 17 00:00:00 2001 From: Lilian Gallon Date: Thu, 18 Jan 2024 10:52:27 +0100 Subject: [PATCH] feat(common) #62: Remove debug headers test in locations tests Request & Correlation id values are not deterministic in this test. They are already tested in credentials integration tests --- .../toolkit/tests/integration/LocationsIntegrationTest.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ocpi-toolkit-2.2.1/src/test/kotlin/com/izivia/ocpi/toolkit/tests/integration/LocationsIntegrationTest.kt b/ocpi-toolkit-2.2.1/src/test/kotlin/com/izivia/ocpi/toolkit/tests/integration/LocationsIntegrationTest.kt index 10fa96a..22a9ea3 100644 --- a/ocpi-toolkit-2.2.1/src/test/kotlin/com/izivia/ocpi/toolkit/tests/integration/LocationsIntegrationTest.kt +++ b/ocpi-toolkit-2.2.1/src/test/kotlin/com/izivia/ocpi/toolkit/tests/integration/LocationsIntegrationTest.kt @@ -142,8 +142,6 @@ class LocationsIntegrationTest : BaseServerIntegrationTest() { // request get { method }.isEqualTo(HttpMethod.GET) get { path }.isEqualTo("/2.2.1/locations") - get { headers[Header.X_REQUEST_ID] }.isNotNull().isEqualTo("req-id-1") - get { headers[Header.X_CORRELATION_ID] }.isNotNull().isEqualTo("corr-id-1") get { headers[Header.OCPI_FROM_PARTY_ID] }.isNotNull() .isEqualTo(requestMessageRoutingHeaders.fromPartyId) get { headers[Header.OCPI_FROM_COUNTRY_CODE] }.isNotNull() @@ -156,8 +154,6 @@ class LocationsIntegrationTest : BaseServerIntegrationTest() { get { second }.and { // response - get { headers[Header.X_REQUEST_ID] }.isNotNull().isEqualTo("req-id-1") - get { headers[Header.X_CORRELATION_ID] }.isNotNull().isEqualTo("corr-id-1") get { headers[Header.OCPI_FROM_PARTY_ID] }.isNotNull() .isEqualTo(requestMessageRoutingHeaders.toPartyId) get { headers[Header.OCPI_FROM_COUNTRY_CODE] }.isNotNull()