81e7223560
Text Extraction * bases * go * splitting * structure * movetoasync * movetoasync * settinguptrigger * reorder * storevent * standardisepollingvalidation * unittests * fixlint * fixlint * awscfg * generatesample * followthrough * tests * clena * store * externalidcleanup * clientid * local * baseunittests * putobjecttests * tests
25 lines
567 B
Go
25 lines
567 B
Go
package documentclean_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
documentclean "queryorchestration/internal/document/clean"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/objectstore"
|
|
"queryorchestration/internal/serviceconfig/queue/documenttexttrigger"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocCleanConfig struct {
|
|
serviceconfig.BaseConfig
|
|
documenttexttrigger.DocTextTriggerConfig
|
|
objectstore.ConfigProvider
|
|
}
|
|
|
|
func TestService(t *testing.T) {
|
|
cfg := &DocCleanConfig{}
|
|
svc := documentclean.New(cfg)
|
|
assert.NotNil(t, svc)
|
|
}
|