Skip to content

Commit

Permalink
feat(common) #62: Remove debug headers test in locations tests
Browse files Browse the repository at this point in the history
Request & Correlation id values are not deterministic in this test. They are already tested in credentials integration tests
  • Loading branch information
lilgallon committed Jan 19, 2024
1 parent 24b59bb commit 992be08
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 992be08

Please sign in to comment.