Description
In PR #2102, temporary changes were made to the Prerequisites integration test to accommodate DSCv3 integration test stages. These changes should be reverted once a separate Prerequisites integration test is created specifically for DSCv3.
Code Changed
From (strict check):
$module | Should -HaveCount 1
$module.Version -ge '1.0.4.1' | Should -BeTrue
To (lenient check):
$module.Count | Should -BeGreaterOrEqual 1
#$module.Version -ge '1.0.4.1' | Should -BeTrue
File: tests/Integration/Commands/Prerequisites.Integration.Tests.ps1
Lines: ~197-198
Expected Resolution
- Create a separate Prerequisites integration test file for DSCv3 integration test stages
- Revert the changes in
tests/Integration/Commands/Prerequisites.Integration.Tests.ps1 back to the original strict assertions
- Ensure the new DSCv3-specific Prerequisites test has appropriate module version checks for that environment
References
Reported by: @johlju
Description
In PR #2102, temporary changes were made to the Prerequisites integration test to accommodate DSCv3 integration test stages. These changes should be reverted once a separate Prerequisites integration test is created specifically for DSCv3.
Code Changed
From (strict check):
To (lenient check):
File:
tests/Integration/Commands/Prerequisites.Integration.Tests.ps1Lines: ~197-198
Expected Resolution
tests/Integration/Commands/Prerequisites.Integration.Tests.ps1back to the original strict assertionsReferences
Reported by: @johlju