https://bugzilla.wikimedia.org/show_bug.cgi?id=68650
Bug ID: 68650
Summary: phpunit failure: Unexpected 'wikiId' =>
'wiki-unittest_'
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]
Blocks: 67216
Web browser: ---
Mobile Platform: ---
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
--
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