@@ -227,6 +227,7 @@ func validateEcrCreds(t *testing.T, pulumiTest *pulumitest.PulumiTest, result au
227227 userName , ok := result .Outputs ["userName" ].Value .(string )
228228 require .Truef (t , ok , "expected decoded userName output to be a string; got %s" , userNameValue )
229229 assert .Equal (t , "AWS" , userName )
230+ assert .False (t , result .Outputs ["userName" ].Secret , "expected decoded userName output to remain non-secret" )
230231
231232 password , ok := result .Outputs ["password" ].Value .(string )
232233 require .True (t , ok , "expected decoded password output to be a string" )
@@ -258,7 +259,7 @@ func validateEcrCreds(t *testing.T, pulumiTest *pulumitest.PulumiTest, result au
258259
259260func TestAccEcrCredentials (t * testing.T ) {
260261 test := pulumitest .NewPulumiTest (t ,
261- filepath .Join (getCwd (t ), "ecr-credentials" ),
262+ filepath .Join (getCwd (t ), "test-programs" , " ecr-credentials" ),
262263 opttest .SkipInstall (),
263264 opttest .LocalProviderPath ("aws" , filepath .Join (getCwd (t ), ".." , "bin" )),
264265 )
@@ -270,7 +271,7 @@ func TestAccEcrCredentials(t *testing.T) {
270271}
271272
272273func TestEcrCredentialsUpgrade (t * testing.T ) {
273- test , _ := testProviderUpgrade (t , filepath .Join (getCwd ( t ) , "ecr-credentials" ), & testProviderUpgradeOptions {
274+ test , _ := testProviderUpgrade (t , filepath .Join ("test-programs" , "ecr-credentials" ), & testProviderUpgradeOptions {
274275 skipCache : true ,
275276 skipDefaultPreviewTest : true ,
276277 })
0 commit comments