Skip to content

Commit

Permalink
chore: update tests due to changes in generator
Browse files Browse the repository at this point in the history
  • Loading branch information
tdakkota committed Apr 20, 2023
1 parent cb5188d commit ca5889e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/integration/requests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (t testHTTPRequests) AllRequestBodies(
r = req
case *api.AllRequestBodiesApplicationXWwwFormUrlencoded:
r = strings.NewReader(req.Name)
case *api.AllRequestBodiesMultipartFormData:
case *api.SimpleObjectMultipart:
r = strings.NewReader(req.Name)
case *api.AllRequestBodiesReqTextPlain:
r = req
Expand All @@ -63,7 +63,7 @@ func (t testHTTPRequests) AllRequestBodiesOptional(
r = req
case *api.AllRequestBodiesOptionalApplicationXWwwFormUrlencoded:
r = strings.NewReader(req.Name)
case *api.AllRequestBodiesOptionalMultipartFormData:
case *api.SimpleObjectMultipart:
r = strings.NewReader(req.Name)
case *api.AllRequestBodiesOptionalReqTextPlain:
r = req
Expand Down Expand Up @@ -131,7 +131,7 @@ func TestRequests(t *testing.T) {
&api.AllRequestBodiesApplicationXWwwFormUrlencoded{
Name: testData,
},
&api.AllRequestBodiesMultipartFormData{
&api.SimpleObjectMultipart{
Name: testData,
},
&api.AllRequestBodiesReqTextPlain{
Expand Down Expand Up @@ -160,7 +160,7 @@ func TestRequests(t *testing.T) {
&api.AllRequestBodiesOptionalApplicationXWwwFormUrlencoded{
Name: testData,
},
&api.AllRequestBodiesOptionalMultipartFormData{
&api.SimpleObjectMultipart{
Name: testData,
},
&api.AllRequestBodiesOptionalReqTextPlain{
Expand Down

0 comments on commit ca5889e

Please sign in to comment.