We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38082f7 commit 342dc72Copy full SHA for 342dc72
tests/Unit/Public/Get-SqlDscServerPermission.Tests.ps1
@@ -242,7 +242,7 @@ Describe 'Get-SqlDscServerPermission' -Tag 'Public' {
242
}
243
244
It 'Should call both Test-SqlDscIsLogin and Test-SqlDscIsRole' {
245
- Get-SqlDscServerPermission -ServerObject $mockServerObject -Name 'TestPrincipal' -ErrorAction 'SilentlyContinue'
+ $null = Get-SqlDscServerPermission -ServerObject $mockServerObject -Name 'TestPrincipal' -ErrorAction 'SilentlyContinue'
246
247
Should -Invoke -CommandName Test-SqlDscIsLogin -ParameterFilter {
248
$ServerObject.Equals($mockServerObject) -and $Name -eq 'TestPrincipal'
0 commit comments