From 647ec0d20ef765959c5ea01dec2c1b4814e2e6b4 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Sat, 31 Jul 2021 14:11:23 +1000 Subject: [PATCH] chore: fix codenarc --- .../au/com/dius/pact/core/pactbroker/HalClientSpec.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f8ca1aa059..224ce9ee70 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 @@ -504,7 +504,7 @@ class HalClientSpec extends Specification { client.httpClient = mockClient def mockResponse = Mock(CloseableHttpResponse) { getStatusLine() >> new BasicStatusLine(new ProtocolVersion('http', 1, 1), 200, 'OK') - getEntity() >> new StringEntity("{}", ContentType.APPLICATION_JSON) + getEntity() >> new StringEntity('{}', ContentType.APPLICATION_JSON) } when: