Skip to content

Commit

Permalink
Fixed the failing test
Browse files Browse the repository at this point in the history
Signed-off-by: naveensrinivasan <[email protected]>
  • Loading branch information
naveensrinivasan committed Nov 21, 2024
1 parent 40f05ae commit d007e0b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/v1/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"testing"

"connectrpc.com/connect"
"github.com/RoaringBitmap/roaring"
service "github.com/bitbomdev/minefield/gen/api/v1"
"github.com/bitbomdev/minefield/pkg/graph"
"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -98,11 +97,6 @@ func TestQueriesIngestAndCache(t *testing.T) {
require.NoError(t, err)
assert.NotNil(t, resp.Msg.Node)

// Get the dependencies of the node
deps := roaring.New()
_, err = deps.FromBase64(resp.Msg.Node.Dependencies)
require.NoError(t, err)

cacheReq := connect.NewRequest(&emptypb.Empty{})
_, err = s.Cache(context.Background(), cacheReq)
require.NoError(t, err)
Expand Down

0 comments on commit d007e0b

Please sign in to comment.