Fix basic tests

This commit is contained in:
Claude Brisson
2024-03-24 08:25:01 +01:00
parent 5ab9256669
commit ca194941fe
4 changed files with 10 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ class BasicTests: TestBase() {
"shortName" to "mon-tournoi",
"startDate" to "2023-05-10",
"endDate" to "2023-05-12",
"director" to "Nestor Burma",
"country" to "FR",
"location" to "Marseille",
"online" to false,

View File

@@ -27,6 +27,7 @@ object TestAPI {
private fun <T> testRequest(reqMethod: String, uri: String, accept: String = "application/json", payload: T? = null): String {
WebappManager.properties["auth"] = "none"
WebappManager.properties["store"] = "memory"
WebappManager.properties["webapp.env"] = "test"
// mock request