Correct error in last commit

This commit is contained in:
magikstm
2017-11-09 01:30:58 -05:00
parent 36363aaae3
commit e272a7b640
+1
View File
@@ -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