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 25, 2023
1 parent 0a58918 commit c40ae95
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 @@ -708,7 +707,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 c40ae95

Please sign in to comment.