From e272a7b640082cb950397a4464062686051ee147 Mon Sep 17 00:00:00 2001 From: magikstm Date: Thu, 9 Nov 2017 01:30:58 -0500 Subject: [PATCH] Correct error in last commit --- caddy/handler_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/caddy/handler_test.go b/caddy/handler_test.go index 4fb3df0..5b8a466 100644 --- a/caddy/handler_test.go +++ b/caddy/handler_test.go @@ -47,6 +47,7 @@ func Test_ServeHTTP_200(t *testing.T) { } //Set cookie for user token on the ServeHTTP http.ResponseWriter + cookie := http.Cookie{Name: "jwt_token",Value: validToken, HttpOnly: true} http.SetCookie(w, &cookie) //Add the cookie to the request