2025-01-15 19:45:51 +00:00
|
|
|
package queryservice_test
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
2025-03-05 12:05:46 +00:00
|
|
|
queryservice "queryorchestration/api/queryService"
|
|
|
|
|
|
2025-01-15 19:45:51 +00:00
|
|
|
"github.com/go-playground/validator/v10"
|
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func TestNewControllers(t *testing.T) {
|
|
|
|
|
cons := queryservice.NewControllers(validator.New(), &queryservice.Services{})
|
|
|
|
|
assert.NotNil(t, cons)
|
|
|
|
|
}
|