Skip to content

Commit

Permalink
Fix file attachment test
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Apr 23, 2015
1 parent 65e6f5a commit 89bb0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/phpmailerTest.php
Expand Up @@ -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;
}
Expand Down

0 comments on commit 89bb0d6

Please sign in to comment.