Skip to content

Commit

Permalink
switched content-type to text/plain
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensefton committed Oct 2, 2024
1 parent 106326a commit 68e8993
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions httpadapter/alb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestAlbPost(t *testing.T) {
method := "POST"
path := "/test"
reqBody := uuid.NewString()
contentType := "text/html"
contentType := "text/plain"

// Create the mock handler
respStatusCode := 200
Expand Down Expand Up @@ -50,7 +50,7 @@ func TestAlbGet(t *testing.T) {

method := "GET"
path := "/test"
contentType := "text/html"
contentType := "text/plain"

// Create the mock handler
respStatusCode := 200
Expand Down
4 changes: 2 additions & 2 deletions httpadapter/apigwV2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestApigwV2Post(t *testing.T) {
method := "POST"
path := "/test"
reqBody := uuid.NewString()
contentType := "text/html"
contentType := "text/plain"

// Create the mock handler
respStatusCode := 200
Expand Down Expand Up @@ -50,7 +50,7 @@ func TestApigwV2Get(t *testing.T) {

method := "GET"
path := "/test"
contentType := "text/html"
contentType := "text/plain"

// Create the mock handler
respStatusCode := 200
Expand Down
4 changes: 2 additions & 2 deletions httpadapter/apigw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestApigwPost(t *testing.T) {
method := "POST"
path := "/test"
reqBody := uuid.NewString()
contentType := "text/html"
contentType := "text/plain"

// Create the mock handler
respStatusCode := 200
Expand Down Expand Up @@ -50,7 +50,7 @@ func TestApigwGet(t *testing.T) {

method := "GET"
path := "/test"
contentType := "text/html"
contentType := "text/plain"

// Create the mock handler
respStatusCode := 200
Expand Down

0 comments on commit 68e8993

Please sign in to comment.