Help with Unit Tests
Posted: Thu Aug 09, 2007 5:04 pm
I've installed SwiftMailer on two different Debian servers but keep getting the following error whenever I try to run any of the Unit Tests:
SwiftMailer v3.2.6 for PHP5
SimpleTest v1.0.1 beta 2
Apache v2.2.3-4
PHP v5.2.0-8+etch7
When I run any of the tests included with SimpleTest, most of them run just fine (none of them get the error above). The Smoke Tests and the Benchmarks also run without problems. I've tried all three connection types (SMTP, Sendmail, & NativeMail) in the TestConfiguration.php file, but the error remains the same.
Does anybody have any ideas on what I can do to eliminate this error?
I'm using the following:Fatal error: Cannot redeclare class HtmlReporter in /var/www/simpletest/reporter.php on line 184
SwiftMailer v3.2.6 for PHP5
SimpleTest v1.0.1 beta 2
Apache v2.2.3-4
PHP v5.2.0-8+etch7
When I run any of the tests included with SimpleTest, most of them run just fine (none of them get the error above). The Smoke Tests and the Benchmarks also run without problems. I've tried all three connection types (SMTP, Sendmail, & NativeMail) in the TestConfiguration.php file, but the error remains the same.
Does anybody have any ideas on what I can do to eliminate this error?