Skip to content

Commit a643e0a

Browse files
committed
test(gate): run the directly named suite without a negated switch, which -File cannot carry on 5.1
1 parent 7aaaed9 commit a643e0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Tests/Integration/ScriptGate.Tests.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Describe 'Invoke-IntuneScriptGate' -Tag 'Integration', 'Gate' {
106106
($run.Output -join "`n") | Should-NotBeLikeString '*IntuneScripts.Tests.ps1*'
107107
($run.Output -join "`n") | Should-NotBeLikeString '*IslModuleDependency*'
108108
$direct = Invoke-GateFile -Arguments @('-Path', (Join-Path $script:Scripts 'IntuneScripts.Tests.ps1'),
109-
'-FailOn', 'None', '-Annotate:$false')
109+
'-FailOn', 'None')
110110
($direct.Output -join "`n") | Should-BeLikeString '*IslModuleDependency*'
111111
}
112112

0 commit comments

Comments
 (0)