Refactort server and client
This commit is contained in:
parent
f72e510fea
commit
fda5b6ca5c
13 changed files with 188 additions and 96 deletions
|
@ -334,8 +334,8 @@ class MockServerIntegrationTest extends Specification {
|
|||
when:
|
||||
CloseableHttpResponse response = client.execute(restHead)
|
||||
then:
|
||||
response.statusLine.statusCode == 200
|
||||
EntityUtils.consumeQuietly(response.entity)
|
||||
response.statusLine.statusCode == 200
|
||||
}
|
||||
|
||||
def "should dispatch rest mock with options method"() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue