Merged in feature/openapifixes (pull request #106)
OpenAPI Middleware & Fixes * updates
This commit is contained in:
@@ -15,7 +15,6 @@ import (
|
||||
"queryorchestration/internal/serviceconfig/queue/clientsync"
|
||||
queuemock "queryorchestration/mocks/queue"
|
||||
|
||||
"github.com/go-playground/validator/v10"
|
||||
"github.com/google/uuid"
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/pashagolub/pgxmock/v3"
|
||||
@@ -43,7 +42,7 @@ func TestListDocumentsByClientId(t *testing.T) {
|
||||
rec := httptest.NewRecorder()
|
||||
ctx := e.NewContext(req, rec)
|
||||
|
||||
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{
|
||||
cons := queryapi.NewControllers(&queryapi.Services{
|
||||
Document: document.New(cfg),
|
||||
})
|
||||
|
||||
@@ -91,7 +90,7 @@ func TestGetDocument(t *testing.T) {
|
||||
rec := httptest.NewRecorder()
|
||||
ctx := e.NewContext(req, rec)
|
||||
|
||||
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{
|
||||
cons := queryapi.NewControllers(&queryapi.Services{
|
||||
Document: document.New(cfg),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user