https://bugzilla.wikimedia.org/show_bug.cgi?id=63407

--- Comment #1 from Aude <aude.w...@gmail.com> ---
somehow error reporting is off (!?) at this point of running phpunit tests, but
in the suspected test file, I added:

error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

to get the tests to produce some information about the problem.

here is a stack trace:

Fatal error: Cannot use Wikibase\DataModel\SiteLink as SiteLink because the
name is already in use in
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/includes/UpdateRepo.php
on line 11

Call Stack:
    4.1686     672272   1. {main}()
/Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:0
    4.8376   18009816   2. MediaWikiPHPUnitCommand::main(???)
/Library/WebServer/Documents/php-master/tests/phpunit/phpunit.php:116
    4.8378   18022488   3. MediaWikiPHPUnitCommand->run(???, ???)
/Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiPHPUnitCommand.php:64
    4.8379   18022536   4. PHPUnit_TextUI_Command->run(???, ???)
/Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiPHPUnitCommand.php:80
   99.6439  326771912   5. PHPUnit_TextUI_TestRunner->doRun(???, ???)
/opt/local/lib/php/pear/PHPUnit/TextUI/Command.php:176
   99.6538  327275448   6. PHPUnit_Framework_TestSuite->run(???, ???, ???, ???,
???) /opt/local/lib/php/pear/PHPUnit/TextUI/TestRunner.php:349
  100.3130  327276432   7. PHPUnit_Framework_TestSuite->run(???, ???, ???, ???,
???) /opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:705
  100.3143  327277352   8. PHPUnit_Framework_TestSuite->run(???, ???, ???, ???,
???) /opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:705
  263.7098  538192504   9. PHPUnit_Framework_TestSuite->run(???, ???, ???, ???,
???) /opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:705
  263.7104  538194064  10. PHPUnit_Framework_TestSuite->runTest(???, ???)
/opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:745
  263.7104  538194064  11. MediaWikiTestCase->run(???)
/opt/local/lib/php/pear/PHPUnit/Framework/TestSuite.php:775
  263.7106  538194272  12. PHPUnit_Framework_TestCase->run(???)
/Library/WebServer/Documents/php-master/tests/phpunit/MediaWikiTestCase.php:134
  263.7110  538194272  13. PHPUnit_Framework_TestResult->run(???)
/opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:783
  263.7113  538195288  14. PHPUnit_Framework_TestCase->runBare()
/opt/local/lib/php/pear/PHPUnit/Framework/TestResult.php:648
  263.7121  538236992  15. PHPUnit_Framework_TestCase->runTest()
/opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:838
  263.7121  538238456  16. ReflectionMethod->invokeArgs(???, ???)
/opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:983
  263.7122  538238488  17.
Wikibase\Test\UpdateRepoOnMoveTest->testUserIsValidOnRepo()
/opt/local/lib/php/pear/PHPUnit/Framework/TestCase.php:983
  263.7122  538238488  18. Wikibase\Test\UpdateRepoOnMoveTest->getNewLocal()
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/tests/phpunit/includes/UpdateRepoOnMoveTest.php:95
  263.7276  538325104  19. Composer\Autoload\ClassLoader->loadClass(???)
/Library/WebServer/Documents/php-master/extensions/Wikibase/client/tests/phpunit/includes/UpdateRepoOnMoveTest.php:0
  263.7277  538325104  20. Composer\Autoload\includeFile(???)
/Library/WebServer/Documents/php-master/extensions/Wikibase/vendor/composer/ClassLoader.php:269
  263.7279  538339888  21.
include('/Library/WebServer/Documents/php-master/extensions/Wikibase/client/includes/UpdateRepoOnMove.php')
/Library/WebServer/Documents/php-master/extensions/Wikibase/vendor/composer/ClassLoader.php:377
  263.7279  538340248  22. Composer\Autoload\ClassLoader->loadClass(???)
/Library/WebServer/Documents/php-master/extensions/Wikibase/vendor/composer/ClassLoader.php:0
  263.7279  538340248  23. Composer\Autoload\includeFile(???)
/Library/WebServer/Documents/php-master/extensions/Wikibase/vendor/composer/ClassLoader.php:269

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to