move "Check auth on all routes" extension into the class
This commit is contained in:
@@ -84,7 +84,6 @@ class `Check auth on all routes` : BaseTest() {
|
||||
return """HttpStatus ${statusCode.value} for: ${method.value.padStart(6, ' ')} $uri"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun Path.buildUrl(path: String, methodName: String, context: OAIContext): String {
|
||||
val urlReplaced = this.getParametersIn(context, "path")
|
||||
@@ -145,3 +144,5 @@ private fun Parameter.generateFakeArray(): List<String> {
|
||||
listOf("example123")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user