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; }