move "Check auth on all routes" extension into the class #86

Merged
flecomte merged 1 commits from refactoring into master 2021-03-31 12:31:51 +02:00
Showing only changes of commit c0e364637a - Show all commits

View File

@@ -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")
}
}
}