get an error when run the tests but new to this help please?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
me666
Forum Commoner
Posts: 87
Joined: Wed Oct 08, 2008 5:04 pm

get an error when run the tests but new to this help please?

Post by me666 »

i get this error when i run all tests after installing....

All Tests
Fail: testcases -> MimeTests -> TestOfEmbeddedFile -> testFileHasNeededHeaders -> Pattern [~Content-Type: application/octet-stream;\s+name=.*? Content-Transfer-Encoding: base64 Content-Disposition: inline;\s* filename=("?).*?\1 Content-ID: <.*?> .*~s] not detected in [String: Content-Type: application/octet-stream; name*0="swift-12305680454958fa6d0efe7.15@jefferies-forum.servebeer."; name*1=com Content-Transfer-Encoding: base64 Content-Disposition: inline; filename...] at [C:\Forum\tests\units\testcases\MimeTests\TestOfEmbeddedFile.php line 29]
41/41 test cases complete: 1468 passes, 1 fails and 0 exceptions.

what does this mean? and how would i go about fixing this error?
any help would be a great help :)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: get an error when run the tests but new to this help please?

Post by Chris Corbyn »

This is a concern, though I suspect the error is due to a fragile test and can probably be ignored.

What version of PHP are you using and what version of Swift Mailer?
me666
Forum Commoner
Posts: 87
Joined: Wed Oct 08, 2008 5:04 pm

Re: get an error when run the tests but new to this help please?

Post by me666 »

Well im using php5 and the latest version of swift mailer as i only downloaded it a few days ago.
Post Reply