From c2f352ee6e4341b903f845e612e88867cb5f79fc Mon Sep 17 00:00:00 2001 From: Arsenii Petrovich Date: Wed, 24 Jun 2020 01:35:35 +0300 Subject: [PATCH] Update JSONs to fix tests and make them work with the latest URL changes --- ...actory_test.TestVirtualMachineDeployment11.approved.json | 4 ++-- .../template_builder_test.TestBuildWindows02.approved.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/builder/azure/arm/template_factory_test.TestVirtualMachineDeployment11.approved.json b/builder/azure/arm/template_factory_test.TestVirtualMachineDeployment11.approved.json index 15b0ced92..7931e37c0 100644 --- a/builder/azure/arm/template_factory_test.TestVirtualMachineDeployment11.approved.json +++ b/builder/azure/arm/template_factory_test.TestVirtualMachineDeployment11.approved.json @@ -149,7 +149,7 @@ "lun": 0, "name": "[concat(parameters('dataDiskName'),'-1')]", "vhd": { - "uri": "[concat(parameters('storageAccountBlobEndpoint'),variables('vmStorageAccountContainerName'),parameters('dataDiskName'), '-1','.vhd')]" + "uri": "[concat(parameters('storageAccountBlobEndpoint'), variables('vmStorageAccountContainerName'), '/', parameters('dataDiskName'), '-1','.vhd')]" } } ], @@ -191,4 +191,4 @@ "vmStorageAccountContainerName": "images", "vnetID": "[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]" } -} \ No newline at end of file +} diff --git a/builder/azure/common/template/template_builder_test.TestBuildWindows02.approved.json b/builder/azure/common/template/template_builder_test.TestBuildWindows02.approved.json index 06f554cda..a6c2fd7e8 100644 --- a/builder/azure/common/template/template_builder_test.TestBuildWindows02.approved.json +++ b/builder/azure/common/template/template_builder_test.TestBuildWindows02.approved.json @@ -163,7 +163,7 @@ "lun": 0, "name": "[concat(parameters('dataDiskName'),'-1')]", "vhd": { - "uri": "[concat(parameters('storageAccountBlobEndpoint'),variables('vmStorageAccountContainerName'),parameters('dataDiskName'), '-1','.vhd')]" + "uri": "[concat(parameters('storageAccountBlobEndpoint'), variables('vmStorageAccountContainerName'), '/', parameters('dataDiskName'), '-1','.vhd')]" } }, { @@ -173,7 +173,7 @@ "lun": 1, "name": "[concat(parameters('dataDiskName'),'-2')]", "vhd": { - "uri": "[concat(parameters('storageAccountBlobEndpoint'),variables('vmStorageAccountContainerName'),parameters('dataDiskName'), '-2','.vhd')]" + "uri": "[concat(parameters('storageAccountBlobEndpoint'), variables('vmStorageAccountContainerName'), '/', parameters('dataDiskName'), '-2','.vhd')]" } } ], @@ -209,4 +209,4 @@ "vmStorageAccountContainerName": "images", "vnetID": "[resourceId(variables('virtualNetworkResourceGroup'), 'Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]" } -} \ No newline at end of file +}