Merged in feature/export (pull request #91)

export

* export
This commit is contained in:
Michael McGuinness
2025-03-05 19:37:06 +00:00
parent 176f4397c7
commit c78ca26a6f
6 changed files with 245 additions and 241 deletions
+4 -1
View File
@@ -7,6 +7,7 @@ import (
"queryorchestration/internal/test"
queryservice "queryorchestration/pkg/queryService"
"github.com/google/uuid"
"github.com/stretchr/testify/assert"
)
@@ -25,7 +26,9 @@ func TestExportService(t *testing.T) {
client, err := queryservice.NewClientWithResponses(c.URI)
assert.NoError(t, err)
idRes, err := client.TriggerExportWithResponse(ctx, queryservice.ExportTrigger{})
id := uuid.New()
idRes, err := client.TriggerExportWithResponse(ctx, id, queryservice.ExportTrigger{})
assert.NoError(t, err)
assert.NotNil(t, idRes)
}