Package: phpunit-selenium Version: 1.2.6-3 Severity: normal Hi,
The FusionForge test suite has started failing differently since the recent phpunit upload. It seems that the Selenium module of phpunit uses the phpunit framework API wrongly. I get: ,---- | 1) LoginProcess::testLogin | Argument 5 passed to PHPUnit_Framework_Error::__construct() must be an instance of Exception, array given, called in /usr/share/php/PHPUnit/Extensions/SeleniumTestCase.php on line 1003 and defined `---- Looking at that line, I see: ,---- | throw new PHPUnit_Framework_Error($buffer, $e->getCode(), $e->getFile(), $e->getLine(), $e->getTrace()); `---- However, the constructor for PHPUnit_Framework_Error is: ,---- | public function __construct($message, $code, $file, $line, Exception $previous = NULL) `---- So the caller passes a trace (an array of stuff) instead of an Exception, and PHP complains. Thanks, Roland. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages phpunit-selenium depends on: ii pear-channels [pear-phpunit-channel] 0~20131124-1 ii php-pear 5.5.9+dfsg-1 ii php5-curl 5.5.9+dfsg-1 ii phpunit 3.7.28-1 phpunit-selenium recommends no packages. phpunit-selenium suggests no packages. -- no debconf information -- Roland Mas ... all in all it's just another rule in the firewall. -- Ping Flood -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org