Skip to content

Commit f350fdf

Browse files
committed
Ignoring analyser rule in unit test as we need to generate stubs
1 parent 2b22093 commit f350fdf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Tests/Unit/MSFT_xScheduledTask.Tests.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Ignoring this because we need to generate a stub credential to use in unit tests
2+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
3+
14
$Global:DSCModuleName = 'xComputerManagement'
25
$Global:DSCResourceName = 'MSFT_xScheduledTask'
36

0 commit comments

Comments
 (0)