ebf47c6013
track file sizes for all documents in system * feature complete needs dev testing
24 lines
471 B
Go
24 lines
471 B
Go
package documentinit
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/objectstore"
|
|
"queryorchestration/internal/serviceconfig/queue/documentsync"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocInitConfig struct {
|
|
serviceconfig.BaseConfig
|
|
documentsync.DocSyncConfig
|
|
objectstore.ObjectStoreConfig
|
|
}
|
|
|
|
func TestNewDocumentInitService(t *testing.T) {
|
|
svc := New(&DocInitConfig{})
|
|
assert.NotNil(t, svc)
|
|
|
|
}
|