mirror of
https://github.com/pushbits/server.git
synced 2025-06-10 22:51:56 +02:00
Add nilaway and rework test setup
This commit is contained in:
parent
e657884326
commit
b0699da1e9
15 changed files with 309 additions and 184 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue