package endtoend import ( "context" "testing" "queryorchestration/internal/test" queryapi "queryorchestration/pkg/queryAPI" "github.com/stretchr/testify/assert" ) func TestExportService(t *testing.T) { ctx := context.Background() c, cleanup := test.CreateAPINetwork(t, ctx, &test.ServiceNetworkConfig{ API: test.QueryAPI, }) defer cleanup() client, err := queryapi.NewClientWithResponses(c.URI) assert.NoError(t, err) idRes, err := client.TriggerExportWithResponse(ctx, "CLIENT_ID", queryapi.ExportTrigger{}) assert.NoError(t, err) assert.NotNil(t, idRes) }