555b6d420b
Document Result Endpoint * testing * cleantesting * progress * query * lint * readme * dockerclient * api * passtest * tests * test
16 lines
310 B
Go
16 lines
310 B
Go
package queryapi_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
queryapi "queryorchestration/api/queryAPI"
|
|
|
|
"github.com/go-playground/validator/v10"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestNewControllers(t *testing.T) {
|
|
cons := queryapi.NewControllers(validator.New(), &queryapi.Services{})
|
|
assert.NotNil(t, cons)
|
|
}
|