Pedro Pombeiro ed5a5c154d
Move to monorepo structure (#1684)
Move to a monorepo structure with submodules

- Rename status-protocol-go to status-go/protocol
2019-11-21 17:19:22 +01:00

32 lines
562 B
Go

package publisher
import (
"testing"
"github.com/stretchr/testify/suite"
"go.uber.org/zap"
"github.com/status-im/status-go/protocol/tt"
)
func TestServiceTestSuite(t *testing.T) {
suite.Run(t, new(PublisherTestSuite))
}
type PublisherTestSuite struct {
suite.Suite
publisher *Publisher
logger *zap.Logger
}
func (p *PublisherTestSuite) SetupTest(installationID string) {
p.logger = tt.MustCreateTestLogger()
p.publisher = New(p.logger)
}
func (p *PublisherTestSuite) TearDownTest() {
_ = p.logger.Sync()
}
// TODO(adam): provide more tests