From 89bb0d609448dcffc7b9f839547c98c7b66d1e4e Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Thu, 23 Apr 2015 19:33:15 +0200 Subject: [PATCH] Fix file attachment test --- test/phpmailerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpmailerTest.php b/test/phpmailerTest.php index f1037a3dc..838ad5d02 100644 --- a/test/phpmailerTest.php +++ b/test/phpmailerTest.php @@ -946,7 +946,7 @@ public function testHTMLAttachment() $this->Mail->Subject .= ': HTML + Attachment'; $this->Mail->isHTML(true); - if (!$this->Mail->addAttachment(__FILE__, 'test_attach.txt')) { + if (!$this->Mail->addAttachment('../examples/images/phpmailer_mini.png', 'phpmailer_mini.png')) { $this->assertTrue(false, $this->Mail->ErrorInfo); return; }