Page MenuHomePhabricator

[HHVM] Tests for WikibaseDataModel on Travis are failing (due to PHPUnit version used)
Closed, ResolvedPublic

Description

This is due to the PHPUnit version used.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=5 s=2014-10-14

Details

Reference
bz69525

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:28 AM
bzimport set Reference to bz69525.
bzimport added a subscriber: Unknown Object (MLST).

per Jeroen: We are using the TravisCI default, which is PHPUnit 4.x. I recall Sebastian saying he fixed HHVM compat, so I'm not sure what the issue there is. Will investigate.

I counted the dots in https://travis-ci.org/wmde/WikibaseDataModel/jobs/37964434 and compared to a local test run. There are 176 dots. A dot means a test succeeded, right? Test number 176 is ClaimsTest::testGetHash. Test number 177 is ClaimsTest::testIterator which is probably what causes the "Fatal error: Class already declared: PHPUnit_Framework_Error in phar://phpunit-4.3.1.phar/phpunit/Util/../Framework/Error.php on line 57".