Skip to content

Commit

Permalink
refactor: update error to 500 for IPLD errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jul 31, 2023
1 parent bcc9a3b commit 0f08d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ func TestGateway(t *testing.T) {

t.Run("not present key from node 1", func(t *testing.T) {
t.Parallel()
assert.Equal(t, 404, node1.GatewayClient().Get("/ipfs/"+cidFoo).StatusCode)
assert.Equal(t, 500, node1.GatewayClient().Get("/ipfs/"+cidFoo).StatusCode)
})

t.Run("not present IPNS key from node 1", func(t *testing.T) {
Expand Down

0 comments on commit 0f08d51

Please sign in to comment.