Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
helder-junior committed Oct 29, 2024
1 parent 8d676fc commit 18c482e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions server/app/server_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/spf13/viper"

"strings"
"testing"

"github.com/topfreegames/eventsgateway/v4/server/logger"
"github.com/topfreegames/eventsgateway/v4/server/metrics"
"github.com/topfreegames/eventsgateway/v4/server/mocks"
mockpb "github.com/topfreegames/protos/eventsgateway/grpc/mock"
"strings"
"testing"
)

// GetDefaultConfig returns the configuration at ./config/test.yaml
Expand Down Expand Up @@ -77,7 +76,7 @@ var (
var _ = BeforeEach(func() {
log = &logger.NullLogger{}
config, _ = GetDefaultConfig()

metrics.StartServer(config)
mockCtrl = gomock.NewController(GinkgoT())
mockGRPCServer = mockpb.NewMockGRPCForwarderServer(mockCtrl)
mockForwarder = mocks.NewMockForwarder(mockCtrl)
Expand Down

0 comments on commit 18c482e

Please sign in to comment.