From 0c116a62876938ec51f32f8def8ab06130637cb4 Mon Sep 17 00:00:00 2001 From: Synchro Date: Thu, 12 Nov 2015 10:13:28 +0100 Subject: [PATCH] PHPUnit tweaks --- test/phpmailerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpmailerTest.php b/test/phpmailerTest.php index be3396ce..4d6e5b7a 100644 --- a/test/phpmailerTest.php +++ b/test/phpmailerTest.php @@ -64,10 +64,10 @@ class PHPMailerTest extends \PHPUnit_Framework_TestCase */ public function setUp() { + $this->INCLUDE_DIR = dirname(__DIR__); //Default to the dir above the test dir, i.e. the project home dir if (file_exists($this->INCLUDE_DIR . '/test/testbootstrap.php')) { include $this->INCLUDE_DIR . '/test/testbootstrap.php'; //Overrides go in here } - $this->INCLUDE_DIR = dirname(__DIR__); //Default to the dir above the test dir, i.e. the project home dir $this->Mail = new PHPMailer; $this->Mail->SMTPDebug = 3; //Full debug output $this->Mail->Priority = 3;