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