Skip to content

Commit

Permalink
fix: send empty content-type on missing content type test
Browse files Browse the repository at this point in the history
  • Loading branch information
eiri committed Oct 29, 2024
1 parent 01792aa commit 1e8f77a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions base/cloudant_base_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -711,11 +711,14 @@ var _ = Describe(`Cloudant custom base service UT`, func() {
expect: `foo`,
},
{
description: "FIXME! Validates no augmentation on missing content type",
description: "Validates no augmentation on missing content type",
status: http.StatusTeapot,
headers: requestIdHeader,
body: `000`,
expect: `000`,
headers: map[string]string{
"x-couch-request-id": "testreqid",
"content-type": "",
},
body: `000`,
expect: `000`,
},
{
description: "Validates no augmentation on missing 'error' in response with trace",
Expand Down

0 comments on commit 1e8f77a

Please sign in to comment.