From bc1e74468a5b036c6b794bc392ffb8ead567263d Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Tue, 20 Feb 2024 14:29:04 +1100 Subject: [PATCH] fix: Fix for failing Compatibility Suite build --- .../au/com/dius/pact/core/pactbroker/PactBrokerClient.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/pactbroker/src/main/kotlin/au/com/dius/pact/core/pactbroker/PactBrokerClient.kt b/core/pactbroker/src/main/kotlin/au/com/dius/pact/core/pactbroker/PactBrokerClient.kt index a44cebf4f..e229e0b0a 100644 --- a/core/pactbroker/src/main/kotlin/au/com/dius/pact/core/pactbroker/PactBrokerClient.kt +++ b/core/pactbroker/src/main/kotlin/au/com/dius/pact/core/pactbroker/PactBrokerClient.kt @@ -838,7 +838,8 @@ open class PactBrokerClient( val values = mismatches.value .filter { !it.containsKey("exception") } .map { mismatch -> - val remainingAttributes = mismatch.filterNot { it.key == "interactionId" } + val remainingAttributes = mismatch + .filterNot { it.key == "interactionId" || it.key == "interactionDescription" } when (mismatch["attribute"]) { "body-content-type" -> listOf("attribute" to "body", "description" to mismatch["description"]) else -> remainingAttributes.map { it.toPair() }