mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-10 19:46:07 +08:00
add proper logger to queue (#530)
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/boltdb/bolt"
|
||||
"github.com/go-kit/kit/log"
|
||||
"github.com/micromdm/micromdm/mdm"
|
||||
)
|
||||
|
||||
@@ -172,6 +173,6 @@ func setupDB(t *testing.T) (*Store, func()) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
store := &Store{db}
|
||||
store := &Store{DB: db, logger: log.NewNopLogger()}
|
||||
return store, teardown
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user