Skip to content

Commit

Permalink
Make tests a bit less verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Dec 6, 2014
1 parent 4a46a82 commit b7f1dd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/phpmailerTest.php
Expand Up @@ -71,7 +71,7 @@ public function setUp()
include './testbootstrap.php'; //Overrides go in here
}
$this->Mail = new PHPMailer;
$this->Mail->SMTPDebug = 4; //Full debug output
$this->Mail->SMTPDebug = 3; //Full debug output
$this->Mail->Priority = 3;
$this->Mail->Encoding = '8bit';
$this->Mail->CharSet = 'iso-8859-1';
Expand Down Expand Up @@ -1390,6 +1390,7 @@ public function testPopBeforeSmtpBad()
*/
public function testSmtpConnect()
{
$this->Mail->SMTPDebug = 4; //Show connection-level errors
$this->assertTrue($this->Mail->smtpConnect(), 'SMTP single connect failed');
$this->Mail->smtpClose();
$this->Mail->Host = "ssl://localhost:12345;tls://localhost:587;10.10.10.10:54321;localhost:12345;10.10.10.10";
Expand Down

0 comments on commit b7f1dd1

Please sign in to comment.