mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Update dependencies
This commit is contained in:
1
vendor/github.com/go-openapi/runtime/middleware/validation_test.go
generated
vendored
1
vendor/github.com/go-openapi/runtime/middleware/validation_test.go
generated
vendored
@@ -41,6 +41,7 @@ func TestContentTypeValidation(t *testing.T) {
|
||||
recorder = httptest.NewRecorder()
|
||||
request, _ = http.NewRequest("POST", "/api/pets", nil)
|
||||
request.Header.Add("content-type", "application(")
|
||||
request.Header.Add("Accept", "application/json")
|
||||
request.ContentLength = 1
|
||||
|
||||
mw.ServeHTTP(recorder, request)
|
||||
|
||||
Reference in New Issue
Block a user