Skip to content

Commit

Permalink
MockWebAdministrationWindowsFeature: Make stubs throw StubNotImplemen…
Browse files Browse the repository at this point in the history
…ted when invoked (#620)
  • Loading branch information
tommysor authored Dec 20, 2022
1 parent 8bcd584 commit c540031
Show file tree
Hide file tree
Showing 7 changed files with 157 additions and 93 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md)
Added `Invoke-UnitTestCleanup` to get consistent cleanup of stubs.
Gives correct execution of integration tests when run in same PowerShell session as unit tests (no longer calling stubs).
Gives correct `Restore-WebConfiguration` after integration tests when run in same PowerShell session as unit tests (no longer calling stub).
- MockWebAdministrationWindowsFeature
[Issue #351](https://github.com/dsccommunity/WebAdministrationDsc/issues/351)
Stubs now throw StubNotImplemented when they are called in order to show when a cmdlet is not mocked correctly.

## [4.0.0] - 2022-09-17

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ stages:
- job: Package_Module
displayName: 'Package Module'
pool:
vmImage: 'ubuntu-latest'
vmImage: 'windows-latest'
steps:
- pwsh: |
dotnet tool install --global GitVersion.Tool
Expand Down
Loading

0 comments on commit c540031

Please sign in to comment.