Add nilaway and rework test setup

This commit is contained in:
eikendev 2025-02-16 00:15:50 +01:00
parent e657884326
commit b0699da1e9
No known key found for this signature in database
15 changed files with 309 additions and 184 deletions

View file

@ -8,9 +8,11 @@ import (
)
func TestApi_Health(t *testing.T) {
ctx := GetTestContext(t)
assert := assert.New(t)
handler := HealthHandler{
DB: TestDatabase,
DB: ctx.Database,
}
testCases := make([]tests.Request, 0)