Page MenuHomePhabricator

phpunit failure: TitlePermissionTest
Open, LowPublic

Description

Doing what in attachment 16052 minus Wikibase:

vagrant@nemobis:/vagrant/mediawiki/tests/phpunit$ php5 phpunit.php includes
PHPUnit 3.7.37 by Sebastian Bergmann.

[...]

  1. TitlePermissionTest::testPageRestrictions

Failed asserting that two arrays are equal.

  • Expected

+++ Actual
@@ @@
Array (
+ 0 => Array (...)
)

/srv/vagrant/mediawiki/tests/phpunit/includes/TitlePermissionTest.php:540
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42

  1. TitlePermissionTest::testCascadingSourcesRestrictions

Failed asserting that false matches expected true.

/srv/vagrant/mediawiki/tests/phpunit/includes/TitlePermissionTest.php:639
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42


Version: unspecified
Severity: normal

Details

Reference
bz68700

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:42 AM
bzimport set Reference to bz68700.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle moved this task from Inbox to PHPUnit on the MediaWiki-Core-Testing board.Jul 7 2017, 5:14 AM