diff --git a/provider/provider_yaml_test.go b/provider/provider_yaml_test.go index c9f59dd920f..f8ae70c4034 100644 --- a/provider/provider_yaml_test.go +++ b/provider/provider_yaml_test.go @@ -24,7 +24,7 @@ import ( "github.com/pulumi/providertest/pulumitest" "github.com/pulumi/providertest/pulumitest/assertpreview" "github.com/pulumi/providertest/pulumitest/opttest" - "github.com/pulumi/pulumi/sdk/v3/go/auto/optpreview" + "github.com/pulumi/pulumi/sdk/v3/go/auto/optrefresh" "github.com/pulumi/pulumi/sdk/v3/go/auto/optup" "github.com/pulumi/pulumi/sdk/v3/go/common/apitype" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" @@ -503,7 +503,7 @@ resources: ) ptest.Up() - res := ptest.Preview(optpreview.Refresh(), optpreview.Diff()) + res := ptest.Refresh(optrefresh.ExpectNoChanges()) fmt.Printf("stdout: %s", res.StdOut) fmt.Printf("stderr: %s", res.StdErr) }