Skip to content

Commit

Permalink
Update Microsoft365DSC.AADApplication.Tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
NikCharlebois committed Dec 12, 2024
1 parent d624f8f commit 458b726
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Describe -Name $Global:DscHelper.DescribeHeader -Fixture {
Mock -CommandName Get-MgServicePrincipal -MockWith {
$servicePrincipal = New-Object PSCustomObject
$servicePrincipal | Add-Member -MemberType NoteProperty -Name DisplayName -Value 'Microsoft Graph'
$servicePrincipal | Add-Member -MemberType NoteProperty -Name ObjectID -Value '12345-12345-12345-12345-12345'
$servicePrincipal | Add-Member -MemberType NoteProperty -Name ObjectID -Value '12345-12345-12345-12345-12345'
$servicePrincipal | Add-Member -MemberType NoteProperty -Name AppRoles -Value @(@{Value = "User.Read.All";Id="123"})
return $servicePrincipal
}

Expand Down

0 comments on commit 458b726

Please sign in to comment.