mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-14 02:12:29 +00:00
Start to bring back tests
This commit is contained in:
parent
bc88c6d8cf
commit
c3b83320f2
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ Describe "SnipeitPS" {
|
||||||
# tests goes to Dave Wyatt, the genius behind Pester. I've just adapted them
|
# tests goes to Dave Wyatt, the genius behind Pester. I've just adapted them
|
||||||
# slightly to match SnipeitPS.
|
# slightly to match SnipeitPS.
|
||||||
|
|
||||||
<#$script:manifest = $null
|
$script:manifest = $null
|
||||||
|
|
||||||
foreach ($line in (Get-Content $changelogFile))
|
foreach ($line in (Get-Content $changelogFile))
|
||||||
{
|
{
|
||||||
|
|
@ -56,7 +56,7 @@ Describe "SnipeitPS" {
|
||||||
$script:manifest = Test-ModuleManifest -Path "$moduleRoot\SnipeitPS.psd1" -ErrorAction Stop -WarningAction SilentlyContinue
|
$script:manifest = Test-ModuleManifest -Path "$moduleRoot\SnipeitPS.psd1" -ErrorAction Stop -WarningAction SilentlyContinue
|
||||||
} | Should -Not Throw
|
} | Should -Not Throw
|
||||||
}
|
}
|
||||||
|
<#
|
||||||
# There is a bug that prevents Test-ModuleManifest from updating correctly when the manifest file changes. See here:
|
# 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
|
# https://connect.microsoft.com/PowerShell/feedback/details/1541659/test-modulemanifest-the-psmoduleinfo-is-not-updated
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue