Page MenuHomePhabricator
Paste P6094

Output of phpunit after applying https://gerrit.wikimedia.org/r/378764 PS6
ActivePublic

Authored by Huji on Oct 9 2017, 2:16 PM.
Time: 1.31 minutes, Memory: 390.00MB
There were 6 failures:
1) UserTest::testAutoblockCookies
Autoblock does not work
Failed asserting that false matches expected true.
/var/www/html/tests/phpunit/includes/user/UserTest.php:646
/var/www/html/tests/phpunit/MediaWikiTestCase.php:416
/var/www/html/maintenance/doMaintenance.php:92
2) UserTest::testAutoblockCookiesDisabled
Failed to insert block
Failed asserting that false is true.
/var/www/html/tests/phpunit/includes/user/UserTest.php:688
/var/www/html/tests/phpunit/MediaWikiTestCase.php:416
/var/www/html/maintenance/doMaintenance.php:92
3) UserTest::testAutoblockCookieInfiniteExpiry
Failed to insert block
Failed asserting that false is true.
/var/www/html/tests/phpunit/includes/user/UserTest.php:728
/var/www/html/tests/phpunit/MediaWikiTestCase.php:416
/var/www/html/maintenance/doMaintenance.php:92
4) UserTest::testSoftBlockRanges
Failed asserting that Block Object &00000000348870c00000000077f80bee (
'mReason' => ''
'mTimestamp' => '20171009141446'
'mAuto' => '0'
'mExpiry' => '20171009191446'
'mHideName' => '0'
'mParentBlockId' => null
'mId' => 31
'mFromMaster' => false
'mBlockEmail' => '0'
'mDisableUsertalk' => true
'mCreateAccount' => '0'
'target' => User Object &00000000348870b50000000077f80bee (
'mId' => null
'mName' => 'TestUser 57d178.002'
'mRealName' => null
'mEmail' => null
'mTouched' => null
'mQuickTouched' => null
'mToken' => null
'mEmailAuthenticated' => null
'mEmailToken' => null
'mEmailTokenExpires' => null
'mRegistration' => null
'mEditCount' => null
'mGroups' => null
'mGroupMemberships' => null
'mOptionOverrides' => null
'mOptionsLoaded' => false
'mLoadedItems' => Array &0 (
'name' => true
)
'mFrom' => 'name'
'mNewtalk' => -1
'mDatePreference' => null
'mBlockedby' => -1
'mHash' => false
'mRights' => null
'mBlockreason' => null
'mEffectiveGroups' => null
'mImplicitGroups' => null
'mFormerGroups' => null
'mGlobalBlock' => null
'mLocked' => null
'mHideName' => null
'mOptions' => null
'mRequest' => null
'mBlock' => null
'mAllowUsertalk' => null
'mBlockedFromCreateAccount' => false
'queryFlagsUsed' => 0
)
'forcedTargetID' => null
'type' => 1
'blocker' => User Object &000000003488718b0000000077f80bee (
'mId' => 9
'mName' => 'TestUser 57d178.002'
'mRealName' => 'Name 57d178.002'
'mEmail' => '57d178.002@mediawiki.test'
'mTouched' => '20171009141403'
'mQuickTouched' => null
'mToken' => '7873e700e46aec473f4ccb721107dbbe'
'mEmailAuthenticated' => null
'mEmailToken' => null
'mEmailTokenExpires' => null
'mRegistration' => '20171009141358'
'mEditCount' => '6'
'mGroups' => null
'mGroupMemberships' => Array &1 ()
'mOptionOverrides' => Array &1
'mOptionsLoaded' => false
'mLoadedItems' => true
'mFrom' => 'id'
'mNewtalk' => -1
'mDatePreference' => null
'mBlockedby' => -1
'mHash' => false
'mRights' => null
'mBlockreason' => null
'mEffectiveGroups' => null
'mImplicitGroups' => null
'mFormerGroups' => null
'mGlobalBlock' => null
'mLocked' => null
'mHideName' => null
'mOptions' => null
'mRequest' => null
'mBlock' => null
'mAllowUsertalk' => null
'mBlockedFromCreateAccount' => false
'queryFlagsUsed' => 0
)
'isHardblock' => true
'isAutoblocking' => '1'
'systemBlockType' => null
) is null.
/var/www/html/tests/phpunit/includes/user/UserTest.php:795
/var/www/html/tests/phpunit/MediaWikiTestCase.php:416
/var/www/html/maintenance/doMaintenance.php:92
5) UserTest::testAutoblockCookieInauthentic
Failed to insert block
Failed asserting that false is true.
/var/www/html/tests/phpunit/includes/user/UserTest.php:818
/var/www/html/tests/phpunit/MediaWikiTestCase.php:416
/var/www/html/maintenance/doMaintenance.php:92
6) UserTest::testAutoblockCookieNoSecretKey
Failed to insert block
Failed asserting that false is true.
/var/www/html/tests/phpunit/includes/user/UserTest.php:858
/var/www/html/tests/phpunit/MediaWikiTestCase.php:416
/var/www/html/maintenance/doMaintenance.php:92