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