Prepare pipelines before source execution
This commit is contained in:
@@ -14,8 +14,8 @@ func TestRunnerUsesRegistries(t *testing.T) {
|
||||
var executed []string
|
||||
registries := integrationRegistries(t, &built, &executed)
|
||||
|
||||
output, err := New(registries).Run(context.Background(), RunInput{
|
||||
Pipeline: integrationPipeline(),
|
||||
output, err := newPreparedRunner(t, registries).Run(context.Background(), RunInput{
|
||||
pipeline: integrationPipeline(),
|
||||
SourceID: "source-1",
|
||||
RawInput: []byte("source text"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user