diff --git a/mockserver-tests/src/test/groovy/pl/touk/mockserver/tests/MockServerIntegrationTest.groovy b/mockserver-tests/src/test/groovy/pl/touk/mockserver/tests/MockServerIntegrationTest.groovy index 018a28d..3dd7ec4 100644 --- a/mockserver-tests/src/test/groovy/pl/touk/mockserver/tests/MockServerIntegrationTest.groovy +++ b/mockserver-tests/src/test/groovy/pl/touk/mockserver/tests/MockServerIntegrationTest.groovy @@ -858,7 +858,7 @@ class MockServerIntegrationTest extends Specification { @Unroll def "should reject mock when it has System.exit in closure"() { when: - remoteMockServer.addMock(new AddMockRequestData( + remoteMockServer.addMock(new AddMock( name: 'testRest', path: 'testEndpoint', port: 9999,