Merged in feature/postprocessing (pull request #114)
Feature/postprocessing * tests * passtest * fixshorttests * mosttests * improvingbasedockerfile * testspeeds * testing * host * canparallel * clean * passfullsuite * singlepagemax * test * findfeatures * findstables * tbls * tablestoo * tablestoo * lateraltests * tableloc * cleanup * inlinetable * childids * cleanup * tests
This commit is contained in:
@@ -5,8 +5,6 @@ import (
|
||||
"log/slog"
|
||||
|
||||
clientsync "queryorchestration/internal/client/sync"
|
||||
|
||||
"github.com/go-playground/validator/v10"
|
||||
)
|
||||
|
||||
const Name = "clientSyncRunner"
|
||||
@@ -16,14 +14,12 @@ type Services struct {
|
||||
}
|
||||
|
||||
type Runner struct {
|
||||
validator *validator.Validate
|
||||
svc *Services
|
||||
svc *Services
|
||||
}
|
||||
|
||||
func New(validator *validator.Validate, svc *Services) Runner {
|
||||
func New(svc *Services) Runner {
|
||||
return Runner{
|
||||
validator: validator,
|
||||
svc: svc,
|
||||
svc: svc,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ import (
|
||||
queuemock "queryorchestration/mocks/queue"
|
||||
|
||||
"github.com/aws/aws-sdk-go-v2/service/sqs"
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/google/uuid"
|
||||
"github.com/pashagolub/pgxmock/v3"
|
||||
"github.com/stretchr/testify/assert"
|
||||
@@ -41,7 +40,7 @@ func TestQueryRunner(t *testing.T) {
|
||||
|
||||
svc := clientsync.New(cfg)
|
||||
|
||||
runner := clientsyncrunner.New(validator.New(), &clientsyncrunner.Services{
|
||||
runner := clientsyncrunner.New(&clientsyncrunner.Services{
|
||||
ClientSync: svc,
|
||||
})
|
||||
assert.NotNil(t, runner)
|
||||
|
||||
Reference in New Issue
Block a user