From c3b83320f21ed787bd6271c7b3d3d7758ce5a917 Mon Sep 17 00:00:00 2001 From: Petri Asikainen Date: Sat, 4 Sep 2021 23:09:52 +0300 Subject: [PATCH] Start to bring back tests --- Tests/SnipeitPS.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/SnipeitPS.Tests.ps1 b/Tests/SnipeitPS.Tests.ps1 index d983baa..4167cbe 100644 --- a/Tests/SnipeitPS.Tests.ps1 +++ b/Tests/SnipeitPS.Tests.ps1 @@ -28,7 +28,7 @@ Describe "SnipeitPS" { # tests goes to Dave Wyatt, the genius behind Pester. I've just adapted them # slightly to match SnipeitPS. - <#$script:manifest = $null + $script:manifest = $null foreach ($line in (Get-Content $changelogFile)) { @@ -56,7 +56,7 @@ Describe "SnipeitPS" { $script:manifest = Test-ModuleManifest -Path "$moduleRoot\SnipeitPS.psd1" -ErrorAction Stop -WarningAction SilentlyContinue } | Should -Not Throw } - + <# # There is a bug that prevents Test-ModuleManifest from updating correctly when the manifest file changes. See here: # https://connect.microsoft.com/PowerShell/feedback/details/1541659/test-modulemanifest-the-psmoduleinfo-is-not-updated