Skip to content

Commit

Permalink
Updating tests to reflect changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Windos committed Apr 6, 2020
1 parent 559fc5e commit 887e14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/BurntToast.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ Describe 'New-BurntToastNotification' {
Remove-Item tmp.log
}
It 'has consitent WhatIf response' {
$Expected = 'What if: Performing the operation "Submit-BTNotification" on target "submitting: [ToastNotification] with AppId {1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershell.exe, Id , Sequence Number 0 and XML: <?xml version="1.0" encoding="utf-8"?><toast><visual><binding template="ToastGeneric"><text>{Default Notification}</text><text placement="attribution">via Pester</text></binding></visual></toast>".'
$Expected = 'What if: Performing the operation "Submit-BTNotification" on target "submitting: [ToastNotification] with AppId {1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershell.exe, Id , Sequence Number and XML: <?xml version="1.0" encoding="utf-8"?><toast><visual><binding template="ToastGeneric"><text>{Default Notification}</text><text placement="attribution">via Pester</text></binding></visual></toast>".'
$Log | Should -Be $Expected
}
}
Expand Down

0 comments on commit 887e14d

Please sign in to comment.