Skip to content

Commit

Permalink
Fixing Pester Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NEllis280 committed Jul 24, 2020
1 parent dbf37cd commit 3f3cf7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/CMSystemDiscovery.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ try
ADContainersToExclude = $adContainersExclude
}

$excludeThrow = "ADContainersToToExclude and ADContainersToToInclude contain to same entry LDAP://OU=Test1,DC=contoso,DC=com, remove from one of the arrays."
$excludeThrow = "ADContainersToExclude and ADContainersToInclude contain to same entry $adContainersExclude, remove from one of the arrays."
$enableDeltaThrowMsg = "DeltaDiscoveryMins is not specified, specify DeltaDiscoveryMins when enabling Delta Discovery."

Mock -CommandName Get-TargetResource -MockWith { $getTargetResourceStandardReturn }
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/CMUserDiscovery.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ try

$deltaThrow = 'When changing delta schedule, delta schedule must be enabled.'
$scheduleThrow = "Invalid parameter usage specifying an Interval and didn't specify count."
$excludeThrow = "ADContainersToToExclude and ADContainersToToInclude contain to same entry LDAP://OU=Test1,DC=contoso,DC=com, remove from one of the arrays."
$excludeThrow = "ADContainersToExclude and ADContainersToInclude contain to same entry $adContainersExclude, remove from one of the arrays."
$enableDeltaThrowMsg = "DeltaDiscoveryMins is not specified, specify DeltaDiscoveryMins when enabling Delta Discovery."

Mock -CommandName Get-TargetResource -MockWith { $getTargetResourceStandardReturn }
Expand Down

0 comments on commit 3f3cf7d

Please sign in to comment.