photoprism/internal/repo/repo_test.go

16 lines
202 B
Go
Raw Normal View History

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