Files
query-orchestration/test/integration/queryservice_test.go
T
Michael McGuinness 56b447dfcf moveservicesInterfaces
2025-01-07 13:01:14 +00:00

27 lines
463 B
Go

package integration_test
import (
"context"
serviceinterfaces "queryorchestration/api/serviceInterfaces"
"testing"
"github.com/stretchr/testify/assert"
)
func TestQuery(t *testing.T) {
ctx := context.Background()
conn, cleanup := createAPIDependencies(t, ctx)
defer cleanup()
client := serviceinterfaces.NewQueryServiceClient(conn)
id := "sample_id"
_, err := client.Get(ctx, &serviceinterfaces.IdMessage{
Id: id,
})
assert.NotNil(t, err)
}