From adf267eb5fc7fe4eb8a9a8248852a7bc6fbf3459 Mon Sep 17 00:00:00 2001 From: Sergey Vasin Date: Thu, 28 Jun 2018 08:02:10 +0300 Subject: [PATCH] Fix second test in Send-MailMessage.Tests.ps1. (#7195) --- .../Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1 index 9f419609ae..1078c6ce19 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1 @@ -155,8 +155,8 @@ Describe "Basic Send-MailMessage tests" -Tags CI { $ItArgs['Name'] = "Can send mail message from user to self using pipeline " + $ItArgs['Name'] It @ItArgs { - $body = "Greetings from me." - $subject = "Test message" + $body = "Greetings from me again." + $subject = "Second test message" $object = [PSCustomObject]@{"To" = $address; "From" = $address; "Subject" = $subject; "Body" = $body; $SmtpServer = '127.0.0.1'} $object | Send-MailMessage Test-Path -Path $mailBox | Should -BeTrue