21 lines
364 B
Go
21 lines
364 B
Go
|
|
package documentstore
|
||
|
|
|
||
|
|
import (
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
"queryorchestration/internal/serviceconfig"
|
||
|
|
"queryorchestration/internal/serviceconfig/queue/documentinit"
|
||
|
|
|
||
|
|
"github.com/stretchr/testify/assert"
|
||
|
|
)
|
||
|
|
|
||
|
|
type DocInitConfig struct {
|
||
|
|
serviceconfig.BaseConfig
|
||
|
|
documentinit.DocInitConfig
|
||
|
|
}
|
||
|
|
|
||
|
|
func TestNew(t *testing.T) {
|
||
|
|
svc := New(&DocInitConfig{})
|
||
|
|
assert.NotNil(t, svc)
|
||
|
|
}
|