Skip to content

Commit

Permalink
fix: EPR returns 502 with not found integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Oct 13, 2020
1 parent f6d67f7 commit c52de78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/services/kibana_pact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func TestPactConsumer_GetIntegrations(t *testing.T) {
t.Run("the integration does not exist", func(t *testing.T) {
packageName := "foo"
version := "1.0.0"
expectedHTTPErrorCode := 404 // return a 404 HTTP not found error
expectedHTTPErrorCode := 502 // return a 404 HTTP not found error

pact.
AddInteraction().
Expand Down
2 changes: 1 addition & 1 deletion pacts/e2e_testing_framework-fleet.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}
},
"response": {
"status": 404,
"status": 502,
"headers": {
"Content-Type": "application/json; charset=utf-8"
},
Expand Down

0 comments on commit c52de78

Please sign in to comment.