Skip to content

Commit ad51fa5

Browse files
gavinbarronCopilot
andcommitted
test: update Disconnect-MgGraph parameter count for -SignOutFromBroker
The new -SignOutFromBroker switch raises the parameter count from 12 to 13 (SignOutFromBroker + PowerShell common parameters), so the Pester assertion is updated accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 491caff commit ad51fa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Authentication/Authentication/test/Disconnect-MgGraph.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Describe 'Disconnect-MgGraph' {
2020
$DisconnectMgGraphCommand = Get-Command Disconnect-MgGraph
2121
$DisconnectMgGraphCommand | Should -Not -BeNullOrEmpty
2222
$DisconnectMgGraphCommand.ParameterSets | Should -HaveCount 1
23-
$DisconnectMgGraphCommand.ParameterSets.Parameters | Should -HaveCount 12 # PS common parameters.
23+
$DisconnectMgGraphCommand.ParameterSets.Parameters | Should -HaveCount 13 # SignOutFromBroker + PS common parameters.
2424
}
2525

2626
It 'Should remove current AuthContext' {

0 commit comments

Comments
 (0)