From 5e9ac00ec88838e190fa1729d9690b7fc2d707d3 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Thu, 29 Aug 2024 09:38:17 +1000 Subject: [PATCH] fix: faiing test after merging PR --- .../au/com/dius/pact/core/pactbroker/HalClientSpec.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/pactbroker/src/test/groovy/au/com/dius/pact/core/pactbroker/HalClientSpec.groovy b/core/pactbroker/src/test/groovy/au/com/dius/pact/core/pactbroker/HalClientSpec.groovy index 5ac403040..8c9b915ec 100644 --- a/core/pactbroker/src/test/groovy/au/com/dius/pact/core/pactbroker/HalClientSpec.groovy +++ b/core/pactbroker/src/test/groovy/au/com/dius/pact/core/pactbroker/HalClientSpec.groovy @@ -79,8 +79,8 @@ class HalClientSpec extends Specification { client.httpClient.credentialsProvider instanceof SystemDefaultCredentialsProvider client.httpContext != null authScheme instanceof BasicScheme - authScheme.username == '1' - authScheme.password == ['2'] + authScheme.credentials.principal.name == '1' + authScheme.credentials.password == ['2'] } def 'retry strategy is added to execution chain of client'() {