Skip to content

Commit a5f1a1f

Browse files
committed
Added pester test to validate -All parameter on delta functions
1 parent c403fa9 commit a5f1a1f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
BeforeAll {
2+
$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1'
3+
if (-Not (Test-Path -Path $loadEnvPath)) {
4+
$loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1'
5+
}
6+
}
7+
8+
9+
Describe 'Check Delta' {
10+
It 'ShouldNotThrowExceptionWhenAllParameterIsSpecified' {
11+
{ Get-MgUserDelta -All } | Should -Not -Throw
12+
}
13+
}

0 commit comments

Comments
 (0)