Skip to content

Commit

Permalink
Fix issue with Pester 5.3.0 (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju authored Sep 8, 2021
1 parent d2ced82 commit 9c24b35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Refactoring all tasks to initialise variable with `Set-SamplerTaskVariable` script ([issue #110](https://github.com/dsccommunity/DscResource.Test/issues/110)).
- Now the data for the Pester containers are cloned to not hit the issue
[Using same data with two or more containers fail](https://github.com/pester/Pester/issues/2073).

## [0.15.1] - 2021-03-29

Expand Down
2 changes: 1 addition & 1 deletion source/tasks/Invoke_HQRM_Tests.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ task Invoke_HQRM_Tests {

foreach ($testScript in $hqrmTestScripts)
{
$pesterContainers += New-PesterContainer -Path $testScript.FullName -Data $pesterData
$pesterContainers += New-PesterContainer -Path $testScript.FullName -Data $pesterData.Clone()
}

if ($BuildInfo.DscTest.Pester.Configuration -and $pesterConfiguration)
Expand Down

0 comments on commit 9c24b35

Please sign in to comment.