@@ -431,15 +431,15 @@ InModuleScope AzureRM.Websites.Experiments {
431
431
}
432
432
}
433
433
434
- Describe " Get-Location " {
434
+ Describe " Get-AppLocation " {
435
435
$defaultLocation = " West Europe"
436
436
Mock Get-DefaultLocation {return $defaultLocation }
437
437
Context " When a location is not provided and
438
438
ResourceGroupName passed does not exist." {
439
439
$groupName = " customGroup"
440
440
$resourceGroupExists = $false
441
441
442
- $result = Get-Location - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
442
+ $result = Get-AppLocation - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
443
443
444
444
It " Returns a string with default location. " {
445
445
$result | Should BeOfType System.String
@@ -457,7 +457,7 @@ InModuleScope AzureRM.Websites.Experiments {
457
457
$resourceGroupExists = $true
458
458
Mock Get-AzureRmResourceGroup {return $groups | Where-Object {$_.ResourceGroupName -eq $Name }}
459
459
460
- $result = Get-Location - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
460
+ $result = Get-AppLocation - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
461
461
462
462
It " Returns a string with default location. " {
463
463
$result | Should BeOfType System.String
@@ -468,7 +468,7 @@ InModuleScope AzureRM.Websites.Experiments {
468
468
Context " When a location is provided." {
469
469
$providedLocation = " customLocation"
470
470
471
- $result = Get-Location - ProvidedParameters @ {Location = $providedLocation }
471
+ $result = Get-AppLocation - ProvidedParameters @ {Location = $providedLocation }
472
472
473
473
It " Returns a string with the provided location. " {
474
474
$result | Should BeOfType System.String
0 commit comments