mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-15 18:55:46 +00:00
Tests: Suppress warning about use ConvertToSecureString...
This commit is contained in:
parent
19afd20ccd
commit
496528d84e
7 changed files with 28 additions and 0 deletions
|
|
@ -11,6 +11,10 @@
|
|||
DCIM tests.
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
A description of the file.
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
A description of the file.
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
Helper functions Pester tests
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
IPAM Pester tests
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
Setup function Pester tests
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@
|
|||
Virtualization Pester tests
|
||||
#>
|
||||
|
||||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||
param
|
||||
(
|
||||
)
|
||||
Import-Module Pester
|
||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue