photoprism/internal/repo/repo_test.go
Michael Mayer a702844782 Improve repo test logging
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 08:18:48 +01:00

16 lines
202 B
Go

package repo
import (
"os"
"testing"
"github.com/sirupsen/logrus"
)
func TestMain(m *testing.M) {
log = logrus.StandardLogger()
log.SetLevel(logrus.DebugLevel)
code := m.Run()
os.Exit(code)
}