File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Describe "Get-FabricCapacityState" -Tag "UnitTests" {
3535 BeforeAll {
3636 Mock - CommandName Confirm-TokenState - MockWith { }
3737 Mock - CommandName Write-Message - MockWith { }
38- Mock - CommandName Get-PSFConfigValue - MockWith {
38+ Mock - CommandName Get-PSFConfigValue - ParameterFilter { $FullName -eq ' FabricTools.AzureApi.BaseUrl ' } - MockWith {
3939 return ' https://management.azure.com'
4040 }
4141 Mock - CommandName Invoke-RestMethod - MockWith {
@@ -73,7 +73,7 @@ Describe "Get-FabricCapacityState" -Tag "UnitTests" {
7373 BeforeAll {
7474 Mock - CommandName Confirm-TokenState - MockWith { }
7575 Mock - CommandName Write-Message - MockWith { }
76- Mock - CommandName Get-PSFConfigValue - MockWith {
76+ Mock - CommandName Get-PSFConfigValue - ParameterFilter { $FullName -eq ' FabricTools.AzureApi.BaseUrl ' } - MockWith {
7777 return ' https://management.azure.com'
7878 }
7979 Mock - CommandName Invoke-RestMethod - MockWith {
You can’t perform that action at this time.
0 commit comments