From 58b8266e10d17f40f29670e8dc16cdde7b610fec Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 10 Nov 2017 00:37:42 +0100 Subject: [PATCH] Fixed unit test --- handlers/auth_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handlers/auth_test.go b/handlers/auth_test.go index 8822824..9433091 100644 --- a/handlers/auth_test.go +++ b/handlers/auth_test.go @@ -15,6 +15,7 @@ import ( "github.com/maxibanki/golang-url-shortener/config" "github.com/maxibanki/golang-url-shortener/store" "github.com/pkg/errors" + "github.com/sirupsen/logrus" "golang.org/x/oauth2/google" ) @@ -51,7 +52,7 @@ func TestCreateBackend(t *testing.T) { ListenAddr: ":8080", Secret: secret, BaseURL: "http://127.0.0.1", - }, *store) + }, *store, logrus.New()) if err != nil { t.Fatalf("could not create handler: %v", err) }