Skip to content

Commit

Permalink
Fix MsiPackage tests... for real this time - Post Review PowerShell#1
Browse files Browse the repository at this point in the history
  • Loading branch information
mhendric committed Jun 2, 2019
1 parent d60426a commit deaa868
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Unit/MSFT_MsiPackage.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -495,13 +495,15 @@ Describe 'MsiPackage Unit Tests' {
It 'Should return the expected URI when scheme is http' {
$uriBuilder = [System.UriBuilder]::new('http', 'localhost')
$uriBuilder.Path = 'testMsi.msi'
$filePath = $uriBuilder.Uri.AbsoluteUri

Convert-PathToUri -Path $filePath | Should Be $uriBuilder.Uri
}

It 'Should return the expected URI when scheme is https' {
$uriBuilder = [System.UriBuilder]::new('https', 'localhost')
$uriBuilder.Path = 'testMsi.msi'
$filePath = $uriBuilder.Uri.AbsoluteUri

Convert-PathToUri -Path $filePath | Should Be $uriBuilder.Uri
}
Expand Down

0 comments on commit deaa868

Please sign in to comment.