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 bec9bf5 commit d7904b2Copy full SHA for d7904b2
pkg/har/har_test.go
@@ -141,7 +141,7 @@ func TestSinglePostJSONRequest(t *testing.T) {
141
resp, err := c.Post("https://example.com", "application/json", buff)
142
require.NoError(t, err)
143
assert.NotNil(t, resp)
144
- assert.Equal(t, 200, resp.StatusCode)
+ assert.Equal(t, 405, resp.StatusCode)
145
146
err = hw.Close()
147
@@ -162,7 +162,7 @@ func TestSinglePostFormRequest(t *testing.T) {
162
163
164
165
166
167
168
0 commit comments