Last modified: 2014-07-28 09:53:22 UTC
Very silly one: 121) ProofreadPage\FileProviderTest::testGetForIndexPage with data set #0 (ProofreadIndexPage, UnregisteredLocalFile) Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ 'name' => 'localtesting' - 'wikiId' => 'wiki' + 'wikiId' => 'wiki-unittest_' @@ @@ 'locksHeld' => Array () - 'domain' => 'wiki' + 'domain' => 'wiki-unittest_' 'lockTTL' => 7200 ) 'fileJournal' => NullFileJournal Object (...) ) 'zones' => Array (...) 'thumbScriptUrl' => null 'transformVia404' => false 'descBaseUrl' => null 'scriptDirUrl' => null 'scriptExtension' => null 'articleUrl' => null 'initialCapital' => false 'pathDisclosureProtection' => 'simple' 'url' => 'http://localhost/thumbtest' 'thumbUrl' => 'http://localhost/thumbtest/thumb' 'hashLevels' => 2 'deletedHashLevels' => 2 'abbrvThreshold' => 255 'favicon' => null 'fileFactory' => Array (...) 'oldFileFactory' => false 'fileFactoryKey' => false 'oldFileFactoryKey' => false 'name' => 'temp' 'isPrivate' => false ) 'lastError' => null 'redirected' => null 'redirectedTitle' => null 'fsFile' => null 'url' => null 'extension' => null 'name' => 'LoremIpsum.djvu' 'hashPath' => null 'pageCount' => null 'transformScript' => null 'redirectTitle' => null 'canRender' => null 'isSafeFile' => null 'repoClass' => 'FileRepo' 'tmpBucketedThumbCache' => Array () ) /srv/vagrant/mediawiki/extensions/ProofreadPage/tests/includes/FileProviderTest.php:42 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 122) ProofreadPage\FileProviderTest::testGetForPagePage with data set #0 (ProofreadPagePage, UnregisteredLocalFile) Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ 'name' => 'localtesting' - 'wikiId' => 'wiki' + 'wikiId' => 'wiki-unittest_' @@ @@ 'locksHeld' => Array () - 'domain' => 'wiki' + 'domain' => 'wiki-unittest_' 'lockTTL' => 7200 ) 'fileJournal' => NullFileJournal Object (...) ) 'zones' => Array (...) 'thumbScriptUrl' => null 'transformVia404' => false 'descBaseUrl' => null 'scriptDirUrl' => null 'scriptExtension' => null 'articleUrl' => null 'initialCapital' => false 'pathDisclosureProtection' => 'simple' 'url' => 'http://localhost/thumbtest' 'thumbUrl' => 'http://localhost/thumbtest/thumb' 'hashLevels' => 2 'deletedHashLevels' => 2 'abbrvThreshold' => 255 'favicon' => null 'fileFactory' => Array (...) 'oldFileFactory' => false 'fileFactoryKey' => false 'oldFileFactoryKey' => false 'name' => 'temp' 'isPrivate' => false ) 'lastError' => null 'redirected' => null 'redirectedTitle' => null 'fsFile' => null 'url' => null 'extension' => null 'name' => 'LoremIpsum.djvu' 'hashPath' => null 'pageCount' => null 'transformScript' => null 'redirectTitle' => null 'canRender' => null 'isSafeFile' => null 'repoClass' => 'FileRepo' 'tmpBucketedThumbCache' => Array () ) /srv/vagrant/mediawiki/extensions/ProofreadPage/tests/includes/FileProviderTest.php:80 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 123) ProofreadPage\FileProviderTest::testGetForPagePage with data set #1 (ProofreadPagePage, UnregisteredLocalFile) Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ 'name' => 'localtesting' - 'wikiId' => 'wiki' + 'wikiId' => 'wiki-unittest_' @@ @@ 'locksHeld' => Array () - 'domain' => 'wiki' + 'domain' => 'wiki-unittest_' 'lockTTL' => 7200 ) 'fileJournal' => NullFileJournal Object (...) ) 'zones' => Array (...) 'thumbScriptUrl' => null 'transformVia404' => false 'descBaseUrl' => null 'scriptDirUrl' => null 'scriptExtension' => null 'articleUrl' => null 'initialCapital' => false 'pathDisclosureProtection' => 'simple' 'url' => 'http://localhost/thumbtest' 'thumbUrl' => 'http://localhost/thumbtest/thumb' 'hashLevels' => 2 'deletedHashLevels' => 2 'abbrvThreshold' => 255 'favicon' => null 'fileFactory' => Array (...) 'oldFileFactory' => false 'fileFactoryKey' => false 'oldFileFactoryKey' => false 'name' => 'temp' 'isPrivate' => false ) 'lastError' => null 'redirected' => null 'redirectedTitle' => null 'fsFile' => null 'url' => null 'extension' => null 'name' => 'LoremIpsum.djvu' 'hashPath' => null 'pageCount' => null 'transformScript' => null 'redirectTitle' => null 'canRender' => null 'isSafeFile' => null 'repoClass' => 'FileRepo' 'tmpBucketedThumbCache' => Array () ) /srv/vagrant/mediawiki/extensions/ProofreadPage/tests/includes/FileProviderTest.php:80 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 124) ProofreadPage\FileProviderTest::testGetForPagePage with data set #2 (ProofreadPagePage, UnregisteredLocalFile) Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ 'name' => 'localtesting' - 'wikiId' => 'wiki' + 'wikiId' => 'wiki-unittest_' @@ @@ 'locksHeld' => Array () - 'domain' => 'wiki' + 'domain' => 'wiki-unittest_' 'lockTTL' => 7200 ) 'fileJournal' => NullFileJournal Object (...) ) 'zones' => Array (...) 'thumbScriptUrl' => null 'transformVia404' => false 'descBaseUrl' => null 'scriptDirUrl' => null 'scriptExtension' => null 'articleUrl' => null 'initialCapital' => false 'pathDisclosureProtection' => 'simple' 'url' => 'http://localhost/thumbtest' 'thumbUrl' => 'http://localhost/thumbtest/thumb' 'hashLevels' => 2 'deletedHashLevels' => 2 'abbrvThreshold' => 255 'favicon' => null 'fileFactory' => Array (...) 'oldFileFactory' => false 'fileFactoryKey' => false 'oldFileFactoryKey' => false 'name' => 'temp' 'isPrivate' => false ) 'lastError' => null 'redirected' => null 'redirectedTitle' => null 'fsFile' => null 'url' => null 'extension' => null 'name' => 'LoremIpsum.djvu' 'hashPath' => null 'pageCount' => null 'transformScript' => null 'redirectTitle' => null 'canRender' => null 'isSafeFile' => null 'repoClass' => 'FileRepo' 'tmpBucketedThumbCache' => Array () ) /srv/vagrant/mediawiki/extensions/ProofreadPage/tests/includes/FileProviderTest.php:80 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 125) ProofreadPage\FileProviderTest::testGetForPagePage with data set #3 (ProofreadPagePage, UnregisteredLocalFile) Failed asserting that two objects are equal. --- Expected +++ Actual @@ @@ 'name' => 'localtesting' - 'wikiId' => 'wiki' + 'wikiId' => 'wiki-unittest_' @@ @@ 'locksHeld' => Array () - 'domain' => 'wiki' + 'domain' => 'wiki-unittest_' 'lockTTL' => 7200 ) 'fileJournal' => NullFileJournal Object (...) ) 'zones' => Array (...) 'thumbScriptUrl' => null 'transformVia404' => false 'descBaseUrl' => null 'scriptDirUrl' => null 'scriptExtension' => null 'articleUrl' => null 'initialCapital' => false 'pathDisclosureProtection' => 'simple' 'url' => 'http://localhost/thumbtest' 'thumbUrl' => 'http://localhost/thumbtest/thumb' 'hashLevels' => 2 'deletedHashLevels' => 2 'abbrvThreshold' => 255 'favicon' => null 'fileFactory' => Array (...) 'oldFileFactory' => false 'fileFactoryKey' => false 'oldFileFactoryKey' => false 'name' => 'temp' 'isPrivate' => false ) 'lastError' => null 'redirected' => null 'redirectedTitle' => null 'fsFile' => null 'url' => null 'extension' => null 'name' => 'Test.jpg' 'hashPath' => null 'pageCount' => null 'transformScript' => null 'redirectTitle' => null 'canRender' => null 'isSafeFile' => null 'repoClass' => 'FileRepo' 'tmpBucketedThumbCache' => Array () ) /srv/vagrant/mediawiki/extensions/ProofreadPage/tests/includes/FileProviderTest.php:80 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
Not blocking Bug 67216 - Have unit tests of all wmf deployed extensions pass when installed together. Bryan logged it as bug 68231 - wfWikiID() returns different values from test and data provider *** This bug has been marked as a duplicate of bug 68231 ***