Skip to content

Commit 2d890d2

Browse files
jackHay22techknowlogick
authored andcommitted
add header
1 parent db26967 commit 2d890d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/saml_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func TestSAMLRegistration(t *testing.T) {
108108

109109
httpReq, err = http.NewRequest("POST", formRedirectURL.String(), strings.NewReader(form.Encode()))
110110
assert.NoError(t, err)
111-
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
111+
httpReq.Header.Add("Content-Type", "application/x-www-form-urlencoded")
112112

113113
res, err = client.Do(httpReq)
114114
assert.NoError(t, err)

0 commit comments

Comments
 (0)