693457ce2d
Single Text Queue * notrigger
25 lines
546 B
Go
25 lines
546 B
Go
package documentclean_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
documentclean "queryorchestration/internal/document/clean"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/objectstore"
|
|
"queryorchestration/internal/serviceconfig/queue/documenttext"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocCleanConfig struct {
|
|
serviceconfig.BaseConfig
|
|
documenttext.DocTextConfig
|
|
objectstore.ConfigProvider
|
|
}
|
|
|
|
func TestService(t *testing.T) {
|
|
cfg := &DocCleanConfig{}
|
|
svc := documentclean.New(cfg)
|
|
assert.NotNil(t, svc)
|
|
}
|