bbe6f4188e
Feature/tests * improvetests * generation * simplifiedtesting * simplifiedtesting * longfile
22 lines
487 B
Go
22 lines
487 B
Go
package documentsync_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
documentsync "queryorchestration/internal/document/sync"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/queue/documentclean"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocSyncConfig struct {
|
|
serviceconfig.BaseConfig
|
|
documentclean.DocCleanConfig
|
|
}
|
|
|
|
func TestNewDocumentSyncService(t *testing.T) {
|
|
svc := documentsync.New(&DocSyncConfig{}, &documentsync.Services{})
|
|
assert.NotNil(t, svc)
|
|
}
|