Skip to content

Commit

Permalink
interface/grpc/service: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgooz committed Apr 11, 2019
1 parent d0f45ef commit 45a7692
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion interface/grpc/service/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (

"github.com/docker/docker/pkg/archive"
"github.com/mesg-foundation/core/api"
"github.com/mesg-foundation/core/container"
"github.com/mesg-foundation/core/database"
"github.com/stretchr/testify/require"
)
Expand All @@ -30,7 +31,10 @@ func newServer(t *testing.T) (*Server, func()) {
execDB, err := database.NewExecutionDB(execdbname)
require.NoError(t, err)

a := api.New(nil, db, execDB)
c, err := container.New()
require.NoError(t, err)

a := api.New(c, db, execDB)
server := NewServer(a)

closer := func() {
Expand Down

0 comments on commit 45a7692

Please sign in to comment.