Skip to content

Commit c837677

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Updated Find-MgGraphCommand test
1 parent a649477 commit c837677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Authentication/Authentication/test/Find-MgGraphCommand.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ Describe "Find-MgGraphCommand Command" {
167167
$MgCommand = Find-MgGraphCommand -Uri "/identity/authenticationEventsFlows/{authenticationEventsFlow-id}/microsoft.graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/microsoft.graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders"
168168
$MgCommand | Should -HaveCount 2
169169
$MgCommand.Command | Select-Object -Unique | should -HaveCount 2
170-
$MgCommand.Method | Select-Object -Unique | should -HaveCount 2
170+
$MgCommand.Method | Select-Object -Unique | should -HaveCount 1
171171
$MgCommand.APIVersion | Select-Object -Unique | should -HaveCount 2
172-
$MgCommand.Variants | Select-Object -Unique | should -HaveCount 2
172+
$MgCommand.Variants | Select-Object -Unique | should -HaveCount 1
173173
$MgCommand.URI | Select-Object -Unique | Should -Be "/identity/authenticationEventsFlows/{authenticationEventsFlow-id}/externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders"
174174
$MgCommand.Command | Select-Object -Unique | Should -BeIn @("Get-MgBetaIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProvider", "Get-MgIdentityAuthenticationEventFlowAsOnAuthenticationMethodLoadStartExternalUserSelfServiceSignUpIdentityProvider")
175175
} | Should -Not -Throw

0 commit comments

Comments
 (0)