diff --git a/test/functional/shared/cli/cli_test.go b/test/functional/shared/cli/cli_test.go index 3b992335de7..2ec71e73dcf 100644 --- a/test/functional/shared/cli/cli_test.go +++ b/test/functional/shared/cli/cli_test.go @@ -76,7 +76,7 @@ func verifyRecipeCLI(ctx context.Context, t *testing.T, test shared.RPTest) { templateKindBicep := "bicep" templateKindTerraform := "terraform" resourceType := "Applications.Datastores/redisCaches" - file := "testdata/corerp-redis-recipe.bicep" + file := "../../shared/resources/testdata/recipes/test-bicep-recipes/corerp-redis-recipe.bicep" target := fmt.Sprintf("br:ghcr.io/radius-project/dev/test-bicep-recipes/redis-recipe:%s", generateUniqueTag()) t.Run("Validate rad recipe register", func(t *testing.T) { diff --git a/test/functional/shared/cli/testdata/corerp-redis-recipe.bicep b/test/functional/shared/cli/testdata/corerp-redis-recipe.bicep deleted file mode 100644 index 4a11bde1230..00000000000 --- a/test/functional/shared/cli/testdata/corerp-redis-recipe.bicep +++ /dev/null @@ -1,27 +0,0 @@ -param redisName string - -resource redis 'Microsoft.Cache/redis@2022-06-01' = { - name: 'rds-${uniqueString(resourceGroup().id, redisName, deployment().name)}' - location: 'global' - properties: { - enableNonSslPort: false - minimumTlsVersion: '1.2' - sku: { - family: 'C' - capacity: 1 - name: 'Basic' - } - } -} - -output result object = { - values: { - host: redis.properties.hostName - port: redis.properties.port - } - secrets: { - connectionString: 'redis://${redis.properties.hostName}:${redis.properties.port}' - #disable-next-line outputs-should-not-contain-secrets - password: redis.listKeys().primaryKey - } -}