@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user