Skip to content

Commit

Permalink
Add known issue for transport pickup directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaulson45 committed Dec 11, 2024
1 parent ebfe4e8 commit e8c16c7
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,20 @@ function Invoke-AnalyzerKnownBuildIssues {
InformationUrl = (GetKnownIssueInformation @infoParams)
}
TestForKnownBuildIssues @params

Write-Verbose "Test for known transport pickup issue for version number."
$infoParams = @{
Name = "Known Issue when sending email with Pickup Folder is using Admin Display Version vs Installed Version"
Url = "https://support.microsoft.com/topic/email-sent-through-pickup-folder-displays-admin-version-068ae880-5bbf-43f0-a1fa-24a78f31635f"
}
$params = @{
CurrentVersion = $currentVersion
KnownBuildIssuesToFixes = @((GetKnownIssueBuildInformation "15.2.1544.0" "15.2.1544.14"),
(GetKnownIssueBuildInformation "15.2.000.000" "15.2.1258.39" -BuildBound $false),
(GetKnownIssueBuildInformation "15.1.000.000" "15.1.2507.44" -BuildBound $false))
InformationUrl = (GetKnownIssueInformation @infoParams)
}
TestForKnownBuildIssues @params
} catch {
Write-Verbose "Failed to run TestForKnownBuildIssues"
Invoke-CatchActions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,25 @@ Describe "Testing Known Build Issue Main Logic" {
} `
-KnownIssue (GetKnownIssueBuildInformation -BuildNumber "15.2.2375.17" -FixBuildNumber $null)
}

It "Testing Issue always been there" {
TestPesterResults -TestGroup @{
"15.2.1544.14" = $false
"15.2.1544.13" = $false # This is false, but the next test it should be true
"15.2.1258.39" = $false
"15.2.1258.38" = $true
"15.2.1118.40" = $true
} `
-KnownIssue (GetKnownIssueBuildInformation -BuildNumber "15.2.0.0" -FixBuildNumber "15.2.1258.39" -BuildBound $false)

TestPesterResults -TestGroup @{
"15.2.1544.14" = $false
"15.2.1544.13" = $true
"15.2.1258.39" = $false
"15.2.1258.38" = $false
"15.2.1118.40" = $false
} `
-KnownIssue (GetKnownIssueBuildInformation -BuildNumber "15.2.1544.0" -FixBuildNumber "15.2.1544.14" -BuildBound $true)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Describe "Testing Health Checker by Mock Data Imports - Exchange 2016" {
TestObjectMatch "Extended Protection Enabled (Any VDir)" $false
TestObjectMatch "Setting Overrides Detected" $false
TestObjectMatch "Exchange Server Membership" "Passed"
$Script:ActiveGrouping.Count | Should -Be 19
$Script:ActiveGrouping.Count | Should -Be 22
}

It "Display Results - Organization Information" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Describe "Testing Health Checker by Mock Data Imports" {
TestObjectMatch "Monitoring Overrides Detected" $false
TestObjectMatch "Out of Date" $true -WriteType "Red"
TestObjectMatch "Exchange Server Membership" "Passed"
$Script:ActiveGrouping.Count | Should -Be 19
$Script:ActiveGrouping.Count | Should -Be 22
}

It "Display Results - Organization Information" {
Expand Down

0 comments on commit e8c16c7

Please sign in to comment.