Skip to content

Commit 2f94178

Browse files
authored
Fix test failure UserAccountControl (#445)
1 parent 3a17955 commit 2f94178

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
55

66
## [Unreleased]
77

8+
### Fixed
9+
10+
- `UserAccountControl`
11+
- Tests remove parameter type on `Assert-BoundParameter` mocks.
12+
813
## [10.0.0] - 2025-01-25
914

1015
### Added

tests/Unit/DSC_UserAccountControl.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Describe 'UserAccountControl\Get-TargetResource' -Tag 'Get' {
108108

109109
Describe 'UserAccountControl\Set-TargetResource' -Tag 'Set' {
110110
BeforeAll {
111-
Mock -CommandName Assert-BoundParameter
111+
Mock -CommandName Assert-BoundParameter -RemoveParameterType RequiredBehavior
112112
Mock -CommandName Set-ItemProperty
113113
Mock -CommandName Set-UserAccountControlToNotificationLevel
114114
}

0 commit comments

Comments
 (0)