From 691d7b086ccd49fd39b136190e99df1a18b5fa65 Mon Sep 17 00:00:00 2001 From: Synchro Date: Thu, 31 Jan 2013 12:04:26 +0100 Subject: [PATCH] Cleanup --- test/phpmailerTest.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/test/phpmailerTest.php b/test/phpmailerTest.php index 917d2fe8..f04af12b 100644 --- a/test/phpmailerTest.php +++ b/test/phpmailerTest.php @@ -1028,17 +1028,17 @@ class phpmailerTest extends PHPUnit_Framework_TestCase */ function test_Signing() { - $this->Mail->Body = "This was done using the SMTP keep-alive."; + $this->Mail->Body = 'This message is S/MIME signed.'; $this->BuildBody(); $dn = array( - "countryName" => "UK", - "stateOrProvinceName" => "Here", - "localityName" => "There", - "organizationName" => "PHP", - "organizationalUnitName" => "PHPMailer", - "commonName" => "PHPMailer Test", - "emailAddress" => "phpmailer@example.com" + 'countryName' => 'UK', + 'stateOrProvinceName' => 'Here', + 'localityName' => 'There', + 'organizationName' => 'PHP', + 'organizationalUnitName' => 'PHPMailer', + 'commonName' => 'PHPMailer Test', + 'emailAddress' => 'phpmailer@example.com' ); $password = 'password'; $certfile = 'certfile.txt'; @@ -1062,7 +1062,6 @@ class phpmailerTest extends PHPUnit_Framework_TestCase $keyfile, $password ); - //$this->Mail->Send(); $this->assertTrue($this->Mail->Send(), 'S/MIME signing failed'); unlink($certfile); unlink($keyfile);