Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jan 31, 2013
1 parent b53ab11 commit 691d7b0
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions test/phpmailerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1028,17 +1028,17 @@ function test_Encodings()
*/
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" => "[email protected]"
'countryName' => 'UK',
'stateOrProvinceName' => 'Here',
'localityName' => 'There',
'organizationName' => 'PHP',
'organizationalUnitName' => 'PHPMailer',
'commonName' => 'PHPMailer Test',
'emailAddress' => '[email protected]'
);
$password = 'password';
$certfile = 'certfile.txt';
Expand All @@ -1062,7 +1062,6 @@ function test_Signing()
$keyfile,
$password
);
//$this->Mail->Send();
$this->assertTrue($this->Mail->Send(), 'S/MIME signing failed');
unlink($certfile);
unlink($keyfile);
Expand Down

0 comments on commit 691d7b0

Please sign in to comment.