Skip to content

Commit 76604fb

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Updated test
1 parent 5163885 commit 76604fb

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
@@ -73,12 +73,12 @@ Describe "Find-MgGraphCommand Command" {
7373
}
7474
It 'Should find command using regex' {
7575
{
76-
$Uri = "/groups/{group-id}/events/.*"
76+
$Uri = "/bookingBusinesses/{bookingBusiness-id}/.*"
7777
$MgCommand = Find-MgGraphCommand -Uri $Uri -Method POST -ApiVersion beta
7878
$MgCommand.Count | Should -BeGreaterThan 1
7979
$MgCommand.Method | Select-Object -Unique | Should -Be "POST"
8080
$MgCommand.APIVersion | Select-Object -Unique | Should -Be "beta"
81-
$MgCommand.Command | Select-Object -Unique | Should -BeLike "*-MgBetaGroupEvent*"
81+
$MgCommand.Command | Select-Object -Unique | Should -BeLike "*-MgBetaBookingBusiness*"
8282
} | Should -Not -Throw
8383
}
8484
It 'Should find command using action with FQNamespace.' {

0 commit comments

Comments
 (0)