-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Unit Test for The server is in a farm and the incorrect contacts…
… have been applied
- Loading branch information
Hannappel, Christoph
committed
Apr 19, 2024
1 parent
d187fc7
commit b310e7d
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -260,7 +260,7 @@ try | |
CertificateExpirationWarningThresholdDays = 15 | ||
CertificateExpirationErrorThresholdDays = 15 | ||
CertificateNotificationContacts = @( | ||
@{ | ||
[PSCustomObject]@{ | ||
Address = '[email protected]' | ||
} | ||
) | ||
|
@@ -270,7 +270,7 @@ try | |
Mock -CommandName Get-SPFarm -MockWith { return @{ } } | ||
Mock -CommandName Get-SPCertificateNotificationContact -MockWith { | ||
return @( | ||
@{ | ||
[PSCustomObject]@{ | ||
Address = '[email protected]' | ||
} | ||
) | ||
|