From 6aee17852aaa26e03319e86a22435e31d145c073 Mon Sep 17 00:00:00 2001 From: Pallavi Sah Date: Mon, 13 Nov 2023 16:17:28 -0800 Subject: [PATCH] Fixing tests --- .../Pass/ApiVersion-In-SymbolicResource.json | 8 ++++---- .../Pass/Nested-API-Version.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/unit-tests/apiversions-should-be-recent/Pass/ApiVersion-In-SymbolicResource.json b/unit-tests/apiversions-should-be-recent/Pass/ApiVersion-In-SymbolicResource.json index a2fd6c4c..c593438b 100644 --- a/unit-tests/apiversions-should-be-recent/Pass/ApiVersion-In-SymbolicResource.json +++ b/unit-tests/apiversions-should-be-recent/Pass/ApiVersion-In-SymbolicResource.json @@ -30,7 +30,7 @@ "resources": { "NestedDeployment": { "type": "Microsoft.Resources/deployments", - "apiVersion": "2021-04-01", + "apiVersion": "2023-07-01", "name": "[variables('nestedTemplateName_ImportVHD-FromZipArchive')]", "properties": { "mode": "Incremental", @@ -99,13 +99,13 @@ "resources": [ { "type": "Microsoft.ManagedIdentity/userAssignedIdentities", - "apiVersion": "2018-11-30", + "apiVersion": "2023-01-31", "name": "[variables('userAssignedIdentityName')]", "location": "[parameters('location')]" }, { "type": "Microsoft.Authorization/roleAssignments", - "apiVersion": "2021-04-01-preview", + "apiVersion": "2022-01-01-preview", "name": "[variables('roleAssignmentName')]", "dependsOn": [ "[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('userAssignedIdentityName'))]" @@ -119,7 +119,7 @@ }, { "type": "Microsoft.Resources/deploymentScripts", - "apiVersion": "2020-10-01", + "apiVersion": "2023-08-01", "name": "[parameters('deploymentScriptName')]", "location": "[parameters('location')]", "dependsOn": [ diff --git a/unit-tests/apiversions-should-be-recent/Pass/Nested-API-Version.json b/unit-tests/apiversions-should-be-recent/Pass/Nested-API-Version.json index 1334e2a5..cf79e390 100644 --- a/unit-tests/apiversions-should-be-recent/Pass/Nested-API-Version.json +++ b/unit-tests/apiversions-should-be-recent/Pass/Nested-API-Version.json @@ -4,7 +4,7 @@ "resources": [ { "type": "Microsoft.Storage/storageAccounts/blobServices/containers", - "apiVersion": "2021-09-01", + "apiVersion": "2023-04-01", "name": "[format('{0}/default/{1}', variables('storageAccountName'), variables('blobContainerName'))]", "dependsOn": [ "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"