We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81c8398 commit eedc099Copy full SHA for eedc099
pkg/ffapi/handler_test.go
@@ -115,6 +115,9 @@ func TestRouteServePOST201WithParams(t *testing.T) {
115
}}, "", nil)
116
defer done()
117
SetRequestIDHeader("x-unittest-req-id") // tests custom req header
118
+ defer func() {
119
+ SetRequestIDHeader(DefaultRequestIDHeader) // reverts this for other tests
120
+ }()
121
122
b, _ := json.Marshal(map[string]interface{}{"input1": "value1"})
123
0 commit comments