53ea7d34e6
Start adding Textract + UUID changes * base * startclient * ts * short * tests
25 lines
530 B
Go
25 lines
530 B
Go
package documenttext_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
documenttext "queryorchestration/internal/document/text"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/queue/querysync"
|
|
"queryorchestration/internal/serviceconfig/textract"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocTextConfig struct {
|
|
serviceconfig.BaseConfig
|
|
querysync.QuerySyncConfig
|
|
textract.TextractConfig
|
|
}
|
|
|
|
func TestService(t *testing.T) {
|
|
cfg := &DocTextConfig{}
|
|
svc := documenttext.New(cfg)
|
|
assert.NotNil(t, svc)
|
|
}
|