forked from grassrootseconomics/visedriver
Remove commented code
This commit is contained in:
parent
dff662663d
commit
46bf21b7b8
@ -13,7 +13,6 @@ var (
|
|||||||
logg = logging.NewVanilla().WithDomain("visedriver.http.session")
|
logg = logging.NewVanilla().WithDomain("visedriver.http.session")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
// HTTPSessionHandler implements the session handler for HTTP
|
// HTTPSessionHandler implements the session handler for HTTP
|
||||||
type HTTPSessionHandler struct {
|
type HTTPSessionHandler struct {
|
||||||
request.RequestHandler
|
request.RequestHandler
|
||||||
|
@ -102,7 +102,6 @@ func TestSessionHandler_ServeHTTP(t *testing.T) {
|
|||||||
sessionHandler := &HTTPSessionHandler{
|
sessionHandler := &HTTPSessionHandler{
|
||||||
RequestHandler: mockRequestHandler,
|
RequestHandler: mockRequestHandler,
|
||||||
}
|
}
|
||||||
//sessionHandler := request.ToSessionHandler(mockRequestHandler)
|
|
||||||
|
|
||||||
req := httptest.NewRequest(http.MethodPost, "/", bytes.NewBuffer(tt.input))
|
req := httptest.NewRequest(http.MethodPost, "/", bytes.NewBuffer(tt.input))
|
||||||
req.Header.Set("X-Vise-Session", tt.sessionID)
|
req.Header.Set("X-Vise-Session", tt.sessionID)
|
||||||
|
Loading…
Reference in New Issue
Block a user