Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Oct 27, 2024
1 parent 7f733d3 commit 1d7284e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/proxy/connect_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ func getTestHttpProxy(commonProxyTestCase *tools.CommonHTTPProxyTestCase, endpoi
StaticHeaders: map[string]string{
"X-Test": "test",
},
StatusToCodeTransforms: []configtypes.HttpStatusToCodeTransform{
{StatusCode: 404, ToDisconnect: configtypes.TransformDisconnect{Code: 4504, Reason: "not found"}},
},
},
},
HttpStatusTransforms: []HttpStatusToCodeTransform{
{StatusCode: 404, ToDisconnect: TransformDisconnect{Code: 4504, Reason: "not found"}},
},
}
}

Expand Down

0 comments on commit 1d7284e

Please sign in to comment.