Fix basic tests
This commit is contained in:
@@ -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,
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user