diff --git a/Tests/DCIM.Devices.Tests.ps1 b/Tests/DCIM.Devices.Tests.ps1 index 4b7bafa..b3505c3 100644 --- a/Tests/DCIM.Devices.Tests.ps1 +++ b/Tests/DCIM.Devices.Tests.ps1 @@ -11,6 +11,10 @@ DCIM tests. #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue diff --git a/Tests/DCIM.Interfaces.Tests.ps1 b/Tests/DCIM.Interfaces.Tests.ps1 index 4ab521a..2c268f9 100644 --- a/Tests/DCIM.Interfaces.Tests.ps1 +++ b/Tests/DCIM.Interfaces.Tests.ps1 @@ -11,6 +11,10 @@ A description of the file. #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue diff --git a/Tests/DCIM.Platforms.Tests.ps1 b/Tests/DCIM.Platforms.Tests.ps1 index c13aca6..752957c 100644 --- a/Tests/DCIM.Platforms.Tests.ps1 +++ b/Tests/DCIM.Platforms.Tests.ps1 @@ -11,6 +11,10 @@ A description of the file. #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue diff --git a/Tests/Helpers.Tests.ps1 b/Tests/Helpers.Tests.ps1 index 059adcc..bfbbef9 100644 --- a/Tests/Helpers.Tests.ps1 +++ b/Tests/Helpers.Tests.ps1 @@ -11,6 +11,10 @@ Helper functions Pester tests #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue diff --git a/Tests/IPAM.Tests.ps1 b/Tests/IPAM.Tests.ps1 index 6851ca0..66a677a 100644 --- a/Tests/IPAM.Tests.ps1 +++ b/Tests/IPAM.Tests.ps1 @@ -11,6 +11,10 @@ IPAM Pester tests #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue diff --git a/Tests/Setup.Tests.ps1 b/Tests/Setup.Tests.ps1 index dda6465..3a4cdd6 100644 --- a/Tests/Setup.Tests.ps1 +++ b/Tests/Setup.Tests.ps1 @@ -11,6 +11,10 @@ Setup function Pester tests #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue diff --git a/Tests/Virtualization.Tests.ps1 b/Tests/Virtualization.Tests.ps1 index 7b25f39..f744a20 100644 --- a/Tests/Virtualization.Tests.ps1 +++ b/Tests/Virtualization.Tests.ps1 @@ -11,6 +11,10 @@ Virtualization Pester tests #> +[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "")] +param +( +) Import-Module Pester Remove-Module NetboxPS -Force -ErrorAction SilentlyContinue