From 637642ff4e0ccff81d97bcd1ee88dea71f64c130 Mon Sep 17 00:00:00 2001 From: Alvin Lin Date: Fri, 11 Mar 2022 18:16:32 -0800 Subject: [PATCH] fix test cases Signed-off-by: Alvin Lin --- handler/handler_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/handler_test.go b/handler/handler_test.go index a0d3346..41ab730 100644 --- a/handler/handler_test.go +++ b/handler/handler_test.go @@ -68,6 +68,7 @@ func TestHandler_ServeHTTP(t *testing.T) { handler: &Handler{ ProxyClient: &mockProxyClient{ Response: &http.Response{ + StatusCode: http.StatusOK, Header: http.Header{ "test": []string{"header"}, },