@@ -9,11 +9,8 @@ import (
|
||||
|
||||
queryservice "queryorchestration/api/queryService"
|
||||
"queryorchestration/internal/client"
|
||||
"queryorchestration/internal/collector"
|
||||
"queryorchestration/internal/database"
|
||||
"queryorchestration/internal/database/repository"
|
||||
cleanversion "queryorchestration/internal/document/clean/version"
|
||||
textversion "queryorchestration/internal/document/text/version"
|
||||
"queryorchestration/internal/serviceconfig"
|
||||
|
||||
"github.com/go-playground/validator/v10"
|
||||
@@ -32,12 +29,7 @@ func TestGetClientStatus(t *testing.T) {
|
||||
cfg.DBQueries = repository.New(pool)
|
||||
|
||||
cons := queryservice.NewControllers(validator.New(), &queryservice.Services{
|
||||
Client: client.New(cfg, &client.Services{
|
||||
Collector: collector.New(cfg, &collector.Services{
|
||||
TextVersion: textversion.New(cfg),
|
||||
CleanVersion: cleanversion.New(cfg),
|
||||
}),
|
||||
}),
|
||||
Client: client.New(cfg),
|
||||
})
|
||||
|
||||
e := echo.New()
|
||||
|
||||
Reference in New Issue
Block a user