feat(loggin): disable logging by default so unit tests are not full of logging

This commit is contained in:
Torkel Ödegaard
2016-06-11 11:38:25 +02:00
parent 1584dac00a
commit 086b59483e
6 changed files with 7 additions and 13 deletions
@@ -6,7 +6,6 @@ import (
"github.com/go-xorm/xorm"
. "github.com/grafana/grafana/pkg/services/sqlstore/migrator"
"github.com/grafana/grafana/pkg/services/sqlstore/sqlutil"
"github.com/inconshreveable/log15"
. "github.com/smartystreets/goconvey/convey"
)
@@ -29,7 +28,6 @@ func TestMigrations(t *testing.T) {
sqlutil.CleanDB(x)
mg := NewMigrator(x)
mg.Logger.SetHandler(log15.DiscardHandler())
AddMigrations(mg)
err = mg.Start()