Skip to content

Commit b96663e

Browse files
author
dragonfly91
committed
Fixing Set-StorageType Test
1 parent ab79ba1 commit b96663e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests/AzureBackupVaultTests.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function Test-GetAzureBackupVaultCredentialsReturnsFileNameAndDownloadsCert
2828

2929
function Test-SetAzureBackupVaultStorageTypeWithFreshResourceDoesNotThrowException
3030
{
31-
$freshVaultName = "storagetestrn2";
31+
$freshVaultName = "storagetestrn";
3232

3333
Assert-Throws { New-AzureBackupVault -ResourceGroupName $ResourceGroupName -Name $freshVaultName -Region $Location };
3434

@@ -47,7 +47,6 @@ function Test-SetAzureBackupVaultStorageTypeWithFreshResourceDoesNotThrowExcepti
4747

4848
function Test-SetAzureBackupVaultStorageTypeWithLockedResourceThrowsException
4949
{
50-
# TODO: Check for exception based on current storage type - obtained by vault properties
5150
$vault = Get-AzureBackupVault -Name $ResourceName;
5251

5352
Assert-Throws { Set-AzureBackupVaultStorageType $vault -Type GeoRedundant }

0 commit comments

Comments
 (0)