c1e9d93037
Document Sync and Job Sync * docsyncfunc * startedQueryWork * morefixes * jobsyncsvcstart * save * jobsynctext * save * save * docsync * shorttest * jobsync * jobsyncupdateoncollectorupdate * passlivetest * collectortest * lint
21 lines
467 B
Go
21 lines
467 B
Go
package documentsync_test
|
|
|
|
import (
|
|
documentsync "queryorchestration/internal/document/sync"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/queue/documentclean"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocSyncConfig struct {
|
|
serviceconfig.BaseConfig
|
|
documentclean.DocCleanConfig
|
|
}
|
|
|
|
func TestNew(t *testing.T) {
|
|
svc := documentsync.New(&DocSyncConfig{}, &documentsync.Services{})
|
|
assert.NotNil(t, svc)
|
|
}
|