mirror of
https://github.com/benclaussen/NetboxPS.git
synced 2025-12-16 03:05:47 +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.
|
DCIM tests.
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
A description of the file.
|
A description of the file.
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
A description of the file.
|
A description of the file.
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
Helper functions Pester tests
|
Helper functions Pester tests
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
IPAM Pester tests
|
IPAM Pester tests
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
Setup function Pester tests
|
Setup function Pester tests
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@
|
||||||
Virtualization Pester tests
|
Virtualization Pester tests
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")]
|
||||||
|
param
|
||||||
|
(
|
||||||
|
)
|
||||||
Import-Module Pester
|
Import-Module Pester
|
||||||
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue