35d72fccbe
Feature/remove mocks * remove mocks * cleanup db migrations
25 lines
617 B
Go
25 lines
617 B
Go
// Package documentclean_test contains tests for the document clean service.
|
|
// Note: Text extraction has been removed. The document pipeline ends after cleaning.
|
|
package documentclean_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
documentclean "queryorchestration/internal/document/clean"
|
|
"queryorchestration/internal/serviceconfig"
|
|
"queryorchestration/internal/serviceconfig/objectstore"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
type DocCleanConfig struct {
|
|
serviceconfig.BaseConfig
|
|
objectstore.ConfigProvider
|
|
}
|
|
|
|
func TestService(t *testing.T) {
|
|
cfg := &DocCleanConfig{}
|
|
svc := documentclean.New(cfg)
|
|
assert.NotNil(t, svc)
|
|
}
|