feat: implement tests for api
This commit is contained in:
1 parent
5d4e855b8e
commit
1aa87f33c4
13 files changed
+219
-19
No files matched your search
@@ -52,6 +52,21 @@ dependencies {
|
||||
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version")
|
||||
}
|
||||
|
||||
ktor {
|
||||
openApi {
|
||||
enabled = true
|
||||
codeInferenceEnabled = true
|
||||
onlyCommented = false
|
||||
}
|
||||
}
|
||||
|
||||
docker {
|
||||
name = "${project.name}:${project.version}"
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
environment("SECRET", "testsecret")
|
||||
environment("ADMIN", "admin123")
|
||||
environment("PORT", "8080")
|
||||
systemProperty("io.ktor.development", "true")
|
||||
}
|
||||
Reference in new issue
Block a user