Skip to content

Commit

Permalink
Default values for optional baseMockRequest params
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Jun 21, 2024
1 parent e943f11 commit 526b186
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/kotlin/com/vonage/client/kt/AbstractTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Any>? = null) =
wiremock.requestServerBuilderStep({
url equalTo expectedUrl
Expand Down

0 comments on commit 526b186

Please sign in to comment.