Tests/IdentityGovernance.Tests.ps1
|
Param() $modulePath = Join-Path $PSScriptRoot '..\O365-Toolkit.psd1' Import-Module $modulePath -Force Describe 'IdentityGovernance surface checks' { It 'exports access package cmdlets' { Get-Command Get-O365AccessPackagePlan | Should Not BeNullOrEmpty Get-Command Export-O365AccessPackagePlan | Should Not BeNullOrEmpty Get-Command Import-O365AccessPackagePlan | Should Not BeNullOrEmpty } It 'exports permission migration cmdlets' { Get-Command Export-O365EntraPermissionsPlan | Should Not BeNullOrEmpty Get-Command Invoke-O365EntraPermissionsMigration | Should Not BeNullOrEmpty } It 'exports permission rescue helper' { Get-Command Invoke-O365PermissionRescue | Should Not BeNullOrEmpty } It 'exports GUI launcher' { Get-Command Show-O365ToolkitGui | Should Not BeNullOrEmpty } } |