Extend a test
@@ -30,8 +30,8 @@ func TestIntegration_FormParams(t *testing.T) {
file: "01_couper.hcl",
method: http.MethodPost,
ct: "application/x-www-form-urlencoded",
- post: "x=X+1&x=X%202&y=Y",
- expArgs: `"Args":{"a":["A"],"b":["B"],"c":["C 1","C 2"],"d":["D"],"y":["Y"]}`,
+ post: "x=X+1&x=X%202&y=Y&d=d",
+ expArgs: `"Args":{"a":["A"],"b":["B"],"c":["C 1","C 2"],"d":["d","D"],"y":["Y"]}`,
expCT: `"Content-Type":["application/x-www-form-urlencoded"]`,
expErr: "",
},
