https://bugzilla.wikimedia.org/show_bug.cgi?id=68696
Bug ID: 68696
Summary: Exception from line 182 of
/srv/vagrant/mediawiki/includes/Hooks.php: Invalid
callback in hooks for UnitTestsList
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Unit tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
Some of the extensions in attachment 16052 (where I added all those having
UnitTestsList) cause problems:
vagrant@nemobis:/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php
[304050f6] [no req] Exception from line 182 of
/srv/vagrant/mediawiki/includes/Hooks.php: Invalid callback in hooks for
UnitTestsList
Backtrace:
#0 /srv/vagrant/mediawiki/includes/GlobalFunctions.php(4031):
Hooks::run(string, array, NULL)
#1 /srv/vagrant/mediawiki/tests/phpunit/suites/ExtensionsTestSuite.php(12):
wfRunHooks(string, array)
#2 /srv/vagrant/mediawiki/tests/phpunit/suites/ExtensionsTestSuite.php(22):
ExtensionsTestSuite->__construct()
#3 [internal function]: ExtensionsTestSuite::suite(string)
#4
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php(382):
ReflectionMethod->invoke(NULL, string)
#5
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Util/Configuration.php(912):
PHPUnit_Framework_TestSuite->addTestFile(string)
#6
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/Util/Configuration.php(797):
PHPUnit_Util_Configuration->getTestSuite(DOMElement, NULL)
#7
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php(657):
PHPUnit_Util_Configuration->getTestSuiteConfiguration(NULL)
#8 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php(25):
PHPUnit_TextUI_Command->handleArguments(array)
#9
/srv/vagrant/mediawiki/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php(138):
MediaWikiPHPUnitCommand->handleArguments(array)
#10 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php(42):
PHPUnit_TextUI_Command->run(array, boolean)
#11 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php(160):
MediaWikiPHPUnitCommand::main()
#12 {main}
For now running just fine:
vagrant@nemobis:/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php includes
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l