From 526b18625d855c2ab0e64a36e99f1e83b886305c Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Fri, 21 Jun 2024 17:35:15 +0100 Subject: [PATCH] Default values for optional baseMockRequest params --- src/test/kotlin/com/vonage/client/kt/AbstractTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/kotlin/com/vonage/client/kt/AbstractTest.kt b/src/test/kotlin/com/vonage/client/kt/AbstractTest.kt index 3f95231..324c4a9 100644 --- a/src/test/kotlin/com/vonage/client/kt/AbstractTest.kt +++ b/src/test/kotlin/com/vonage/client/kt/AbstractTest.kt @@ -57,9 +57,9 @@ abstract class AbstractTest { protected fun baseMockRequest( httpMethod: HttpMethod, expectedUrl: String, - contentType: ContentType?, - accept: ContentType?, - authType: AuthType?, + contentType: ContentType? = null, + accept: ContentType? = null, + authType: AuthType? = null, expectedBodyParams: Map? = null) = wiremock.requestServerBuilderStep({ url equalTo expectedUrl