We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6378083 commit 485b3fdCopy full SHA for 485b3fd
1 file changed
src/Authentication/Authentication/test/Find-MgGraphCommand.Tests.ps1
@@ -73,12 +73,12 @@ Describe "Find-MgGraphCommand Command" {
73
}
74
It 'Should find command using regex' {
75
{
76
- $Uri = "/users/{id}/calendars/.*"
+ $Uri = "/groups/{group-id}/events/.*"
77
$MgCommand = Find-MgGraphCommand -Uri $Uri -Method POST -ApiVersion beta
78
$MgCommand.Count | Should -BeGreaterThan 1
79
$MgCommand.Method | Select-Object -Unique | Should -Be "POST"
80
$MgCommand.APIVersion | Select-Object -Unique | Should -Be "beta"
81
- $MgCommand.Command | Select-Object -Unique | Should -BeLike "*-MgBetaUserCalendar*"
+ $MgCommand.Command | Select-Object -Unique | Should -BeLike "*-MgBetaGroupEvent*"
82
} | Should -Not -Throw
83
84
It 'Should find command using action with FQNamespace.' {
0 commit comments