From 181278e17092c7d15597daa763090426551ed160 Mon Sep 17 00:00:00 2001 From: Petri Asikainen Date: Sat, 4 Sep 2021 23:15:21 +0300 Subject: [PATCH] Something with module manifest --- 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 4167cbe..80259c5 100644 --- a/Tests/SnipeitPS.Tests.ps1 +++ b/Tests/SnipeitPS.Tests.ps1 @@ -50,13 +50,13 @@ Describe "SnipeitPS" { break } } - + <# It "Includes a valid manifest file" { { $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