Skip to content

Commit

Permalink
chore: fix codenarc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Jul 31, 2021
1 parent c4bd5a1 commit 647ec0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 647ec0d

Please sign in to comment.