mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Removes FN_PARAM_xxx (#661)
This commit is contained in:
committed by
Owen Cliffe
parent
66cdd2aca5
commit
580dd3e5cb
@@ -178,11 +178,6 @@ func TestCallConfigurationRequest(t *testing.T) {
|
||||
expectedEnv["FN_METHOD"] = method
|
||||
expectedEnv["FN_REQUEST_URL"] = url
|
||||
|
||||
// add expected parameters from URL
|
||||
for _, val := range params {
|
||||
expectedEnv[fmt.Sprintf("FN_PARAM_%s", val.Key)] = val.Value
|
||||
}
|
||||
|
||||
// do this before the "real" headers get sucked in cuz they are formatted differently
|
||||
expectedHeaders := make(http.Header)
|
||||
for k, v := range expectedEnv {
|
||||
|
||||
Reference in New Issue
Block a user