Skip to content

Commit 86b9f97

Browse files
committed
Fix rule for kotlin update
1 parent 2079e33 commit 86b9f97

File tree

1 file changed

+1
-1
lines changed
  • boat-quay/boat-quay-rules/src/test/kotlin/com/backbase/oss/boat/quay/ruleset/util

1 file changed

+1
-1
lines changed

boat-quay/boat-quay-rules/src/test/kotlin/com/backbase/oss/boat/quay/ruleset/util/TestUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fun openApiWithOperations(operations: Map<String, Iterable<String>>): OpenAPI =
3232
responses.addApiResponse(it, ApiResponse())
3333
}
3434
}
35-
pathItem.operation(io.swagger.v3.oas.models.PathItem.HttpMethod.valueOf(method.toUpperCase()), operation)
35+
pathItem.operation(io.swagger.v3.oas.models.PathItem.HttpMethod.valueOf(method.uppercase()), operation)
3636
}
3737
paths = Paths()
3838
paths.addPathItem("/test", pathItem)

0 commit comments

Comments
 (0)