Skip to content

Commit

Permalink
fix: remove ipld.NotFound 404 test
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jul 26, 2023
1 parent de42150 commit 582556e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gateway/gateway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
path "github.com/ipfs/boxo/path"
"github.com/ipfs/boxo/path/resolver"
"github.com/ipfs/go-cid"
ipld "github.com/ipfs/go-ipld-format"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -763,7 +762,6 @@ func TestErrorBubblingFromBackend(t *testing.T) {
})
}

testError("404 Not Found from IPLD", &ipld.ErrNotFound{}, http.StatusNotFound)
testError("404 Not Found from path resolver", resolver.ErrNoLink{}, http.StatusNotFound)
testError("502 Bad Gateway", ErrBadGateway, http.StatusBadGateway)
testError("504 Gateway Timeout", ErrGatewayTimeout, http.StatusGatewayTimeout)
Expand Down

0 comments on commit 582556e

Please sign in to comment.