add proper logger to queue (#530)

This commit is contained in:
Victor Vrantchan
2018-10-13 14:25:11 -04:00
committed by GitHub
parent 8af0ef7bd1
commit 1593659382
4 changed files with 35 additions and 13 deletions

View File

@@ -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
}