diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-10-12 14:07:59 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-10-12 14:07:59 +0200 |
commit | ec82d005b6a02f137645cd756cccfbab7025047a (patch) | |
tree | 0548d08f73520dcbcfb3e65e77cff7c5839ace86 | |
parent | b3577cf9084e7dee70c3d09426087262da0f2849 (diff) | |
download | rpg-ec82d005b6a02f137645cd756cccfbab7025047a.tar.gz rpg-ec82d005b6a02f137645cd756cccfbab7025047a.tar.bz2 |
check msglint for warnings, too
-rw-r--r-- | _test/tests/inc/mailer.test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/tests/inc/mailer.test.php b/_test/tests/inc/mailer.test.php index feb454fcf..3a89413b4 100644 --- a/_test/tests/inc/mailer.test.php +++ b/_test/tests/inc/mailer.test.php @@ -170,7 +170,7 @@ class mailer_test extends DokuWikiTest { please don\'t burn, okay? '); - $mail->attachContent('some test data', 'text/plain', 'text.txt'); + $mail->attachContent('some test data', 'text/plain', 'a text.txt'); $msg = $mail->dump(); $msglines = explode("\n", $msg); @@ -197,7 +197,7 @@ class mailer_test extends DokuWikiTest { } // check the line for errors - if(substr($line,0,5) == 'ERROR'){ + if(substr($line,0,5) == 'ERROR' || substr($line,0,7) == 'WARNING'){ // ignore some errors if(strpos($line, "missing mandatory header 'return-path'")) continue; #set by MDA if(strpos($line, "bare newline in text body decoded")) continue; #seems to be false positive |