Merged in bugfix/integrationstests (pull request #7)
Add get, list, create, deprecate query service integration tests * showtestlines * more config * roundone * splituptests * splitfurther
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package integration_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
serviceinterfaces "queryorchestration/api/serviceInterfaces"
|
||||
"queryorchestration/internal/test"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestExportService(t *testing.T) {
|
||||
ctx := context.Background()
|
||||
|
||||
conn, cleanup := test.CreateAPIWithDependencies(t, ctx, "queryService")
|
||||
defer cleanup()
|
||||
|
||||
expClient := serviceinterfaces.NewExportServiceClient(conn)
|
||||
|
||||
idRes, err := expClient.Trigger(ctx, &serviceinterfaces.ExportTrigger{})
|
||||
assert.Nil(t, err)
|
||||
assert.NotNil(t, idRes)
|
||||
}
|
||||
Reference in New Issue
Block a user