Files
query-orchestration/internal/document/sync/service_test.go
T

22 lines
487 B
Go
Raw Normal View History

package documentsync_test
import (
2025-03-05 12:05:46 +00:00
"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
}
2025-04-23 17:51:44 +00:00
func TestNewDocumentSyncService(t *testing.T) {
svc := documentsync.New(&DocSyncConfig{}, &documentsync.Services{})
assert.NotNil(t, svc)
}