From 0579e55db8584849d1f4490828ce9f982f62078f Mon Sep 17 00:00:00 2001 From: Jacob Moore Date: Fri, 21 Jun 2024 13:37:38 -0400 Subject: [PATCH] OPENAPI: fixed test caused by changing rewrite header field --- config/paths_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/paths_test.go b/config/paths_test.go index 65ba15c..c3e3eac 100644 --- a/config/paths_test.go +++ b/config/paths_test.go @@ -198,7 +198,7 @@ paths: req := &http.Request{ Header: http.Header{ - "Rewrite-Id": []string{"garbage", "garbage again", "test_id", "gargabe please"}, + "RewriteId": []string{"garbage", "garbage again", "test_id", "gargabe please"}, "Other-Header": []string{"another header"}, }, } @@ -271,7 +271,7 @@ paths: req := &http.Request{ Header: http.Header{ - "Rewrite-Id": []string{"garbage", "garbage again", "gargabe please"}, + "RewriteId": []string{"garbage", "garbage again", "gargabe please"}, "Other-Header": []string{"another header"}, }, }