Last modified: 2014-05-09 19:52:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66945, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64945 - LuaEngineTestBase is incompatible with phpunit 4.1
LuaEngineTestBase is incompatible with phpunit 4.1
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 07:36 UTC by Aude
Modified: 2014-05-09 19:52 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2014-05-06 07:36:11 UTC
Fatal error: Call to undefined method PHPUnit_Framework_TestSuite::isPublicTestMethod() in /Library/WebServer/Documents/php-master/extensions/Scribunto/tests/engines/LuaCommon/LuaEngineTestBase.php on line 104

Call Stack:
    0.0021     733568   1. {main}() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:0
    0.4140   20079408   2. PHPUnit_TextUI_Command::main() /Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:255
    0.4140   20080024   3. PHPUnit_TextUI_Command->run() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/src/TextUI/Command.php:132
    0.4346   21327024   4. PHPUnit_Runner_BaseTestRunner->getTest() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/src/TextUI/Command.php:153
    0.5614   21694472   5. PHPUnit_Framework_TestSuite->addTestFiles() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php:97
    2.2385   53650984   6. PHPUnit_Framework_TestSuite->addTestFile() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/src/Framework/TestSuite.php:411
    2.2934   54366360   7. ReflectionMethod->invoke() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/src/Framework/TestSuite.php:383
    2.2934   54366392   8. Wikibase\Client\Scribunto\Test\Scribunto_LuaWikibaseLibraryTestCase::suite() /Library/WebServer/Documents/php-master/vendor/phpunit/phpunit/src/Framework/TestSuite.php:383
    2.3091   54910232   9. Scribunto_LuaEngineTestBase::suite() /Library/WebServer/Documents/php-master/extensions/Wikibase/client/tests/phpunit/includes/scribunto/Scribunto_LuaWikibaseLibraryTestCase.php:69
    2.3091   54910232  10. Scribunto_LuaEngineTestBase::makeSuite() /Library/WebServer/Documents/php-master/extensions/Scribunto/tests/engines/LuaCommon/LuaEngineTestBase.php:60
Comment 1 Brad Jorsch 2014-05-06 14:40:39 UTC
That sort of thing is to be expected when you upgrade to a new major version.

I personally will probably not work on this until an affected version of phpunit is available in Debian unstable. And I hope we don't go breaking testing for people who use distro-packaged versions of phpunit like we did at one point with 3.6→3.7.
Comment 2 Umherirrender 2014-05-09 15:41:30 UTC
There is Gerrit change #132138 for something with phpunit 4.1, needs checking if this is fixed.
Comment 3 Brad Jorsch 2014-05-09 19:52:16 UTC
I'm going to assume so, since Aude both wrote that patch and filed this bug. Feel free to reopen if it's not fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links