@@ -431,15 +431,15 @@ InModuleScope AzureRM.Websites.Experiments {
431431 }
432432 }
433433
434- Describe " Get-Location " {
434+ Describe " Get-AppLocation " {
435435 $defaultLocation = " West Europe"
436436 Mock Get-DefaultLocation {return $defaultLocation }
437437 Context " When a location is not provided and
438438 ResourceGroupName passed does not exist." {
439439 $groupName = " customGroup"
440440 $resourceGroupExists = $false
441441
442- $result = Get-Location - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
442+ $result = Get-AppLocation - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
443443
444444 It " Returns a string with default location. " {
445445 $result | Should BeOfType System.String
@@ -457,7 +457,7 @@ InModuleScope AzureRM.Websites.Experiments {
457457 $resourceGroupExists = $true
458458 Mock Get-AzureRmResourceGroup {return $groups | Where-Object {$_.ResourceGroupName -eq $Name }}
459459
460- $result = Get-Location - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
460+ $result = Get-AppLocation - ProvidedParameters @ {} - ResourceGroupName $groupName - ResourceGroupExists $resourceGroupExists
461461
462462 It " Returns a string with default location. " {
463463 $result | Should BeOfType System.String
@@ -468,7 +468,7 @@ InModuleScope AzureRM.Websites.Experiments {
468468 Context " When a location is provided." {
469469 $providedLocation = " customLocation"
470470
471- $result = Get-Location - ProvidedParameters @ {Location = $providedLocation }
471+ $result = Get-AppLocation - ProvidedParameters @ {Location = $providedLocation }
472472
473473 It " Returns a string with the provided location. " {
474474 $result | Should BeOfType System.String
0 commit comments