fix tests

This commit is contained in:
Thom Seddon 2019-01-30 17:04:33 +00:00
parent ae95e8b2e5
commit 0f278d516b
3 changed files with 9 additions and 4 deletions

View File

@ -3,6 +3,8 @@ sudo: false
go:
- "1.10"
install:
- go get github.com/BurntSushi/toml
- go get github.com/gorilla/mux
- go get github.com/namsral/flag
- go get github.com/sirupsen/logrus
script: go test -v ./...

View File

@ -1,8 +1,8 @@
package main
import (
"testing"
)
// import (
// "testing"
// )
/**
* Tests

View File

@ -21,7 +21,10 @@ import (
func init() {
fw = &ForwardAuth{}
config = NewConfig()
log = NewLogger("panic", "pretty")
logLevel := "panic"
config.LogLevel = &logLevel
log = NewLogger()
}
/**