Last modified: 2013-11-11 22:06:35 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 T58907, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56907 - Cannot redeclare class ApiTokensTest in Translate/tests/phpunit/api/ApiTokensTest.php on line 51
Cannot redeclare class ApiTokensTest in Translate/tests/phpunit/api/ApiTokens...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Sam Reed (reedy)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-11 17:11 UTC by Sam Reed (reedy)
Modified: 2013-11-11 22:06 UTC (History)
7 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-11-11 17:11:37 UTC
reedy@ubuntu64-web-esxi:/var/www/wiki/mediawiki/core/tests/phpunit$ php phpunit.php
PHP Fatal error:  Cannot redeclare class ApiTokensTest in /var/www/wiki/mediawiki/extensions/Translate/tests/phpunit/api/ApiTokensTest.php on line 51
PHP Stack trace:
PHP   1. {main}() /var/www/wiki/mediawiki/core/tests/phpunit/phpunit.php:0
PHP   2. MediaWikiPHPUnitCommand::main() /var/www/wiki/mediawiki/core/tests/phpunit/phpunit.php:119
PHP   3. MediaWikiPHPUnitCommand->run() /var/www/wiki/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64
PHP   4. PHPUnit_TextUI_Command->run() /var/www/wiki/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80
PHP   5. MediaWikiPHPUnitCommand->handleArguments() /usr/share/php/PHPUnit/TextUI/Command.php:138
PHP   6. PHPUnit_TextUI_Command->handleArguments() /var/www/wiki/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:25
PHP   7. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /usr/share/php/PHPUnit/TextUI/Command.php:657
PHP   8. PHPUnit_Util_Configuration->getTestSuite() /usr/share/php/PHPUnit/Util/Configuration.php:797
PHP   9. PHPUnit_Framework_TestSuite->addTestFile() /usr/share/php/PHPUnit/Util/Configuration.php:912
PHP  10. ReflectionMethod->invoke() /usr/share/php/PHPUnit/Framework/TestSuite.php:382
PHP  11. ExtensionsTestSuite::suite() /usr/share/php/PHPUnit/Framework/TestSuite.php:382
PHP  12. ExtensionsTestSuite->__construct() /var/www/wiki/mediawiki/core/tests/phpunit/suites/ExtensionsTestSuite.php:21
PHP  13. PHPUnit_Framework_TestSuite->addTestFile() /var/www/wiki/mediawiki/core/tests/phpunit/suites/ExtensionsTestSuite.php:13
PHP  14. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/php/PHPUnit/Framework/TestSuite.php:355
PHP  15. PHPUnit_Util_Fileloader::load() /usr/share/php/PHPUnit/Util/Fileloader.php:76
Comment 1 Gerrit Notification Bot 2013-11-11 17:21:36 UTC
Change 94771 had a related patch set uploaded by Reedy:
Fix ApiTokensTest class name collision

https://gerrit.wikimedia.org/r/94771
Comment 2 Gerrit Notification Bot 2013-11-11 17:50:22 UTC
Change 94771 merged by jenkins-bot:
Fix ApiTokensTest class name collision

https://gerrit.wikimedia.org/r/94771
Comment 3 Niklas Laxström 2013-11-11 22:06:35 UTC
Just wanted to say that I was using that class name first, so it was MediaWiki which who broke Translate, not the other way around ;)

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


Navigation
Links