From dff662663d5a5ccb0f2d4eb728940da017d5da54 Mon Sep 17 00:00:00 2001 From: lash Date: Sat, 11 Jan 2025 08:37:10 +0000 Subject: [PATCH] Rehabilitate http server test --- session/http/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/session/http/server_test.go b/session/http/server_test.go index 0201e3a..5cbc593 100644 --- a/session/http/server_test.go +++ b/session/http/server_test.go @@ -99,7 +99,7 @@ func TestSessionHandler_ServeHTTP(t *testing.T) { }, } - sessionHandler := &SessionHandler{ + sessionHandler := &HTTPSessionHandler{ RequestHandler: mockRequestHandler, } //sessionHandler := request.ToSessionHandler(mockRequestHandler) @@ -120,7 +120,7 @@ func TestSessionHandler_ServeHTTP(t *testing.T) { } func TestSessionHandler_WriteError(t *testing.T) { - handler := &SessionHandler{} + handler := &HTTPSessionHandler{} mockWriter := &httpmocks.MockWriter{} err := errors.New("test error")