Skip to content

Commit

Permalink
OPENAPI: fixed test caused by changing rewrite header field
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobm-splunk authored and daveshanley committed Jun 21, 2024
1 parent ff6d83f commit 0579e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/paths_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
}
Expand Down Expand Up @@ -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"},
},
}
Expand Down

0 comments on commit 0579e55

Please sign in to comment.