MediaWiki
REL1_19
|
Public Member Functions | |
addDBData () | |
Stub. | |
getTokens () | |
setUp () | |
testMakeNormalBlock () | |
This test has probably always been broken and use an invalid token Bug tracking brokenness is https://bugzilla.wikimedia.org/35646. |
Definition at line 6 of file ApiBlockTest.php.
Stub.
If a test needs to add additional data to the database, it should implement this method and do so
Reimplemented from MediaWikiTestCase.
Definition at line 17 of file ApiBlockTest.php.
References $user, and User\newFromName().
Definition at line 13 of file ApiBlockTest.php.
References ApiTestCase\getTokenList().
Referenced by testMakeNormalBlock().
Reimplemented from ApiTestCase.
Definition at line 8 of file ApiBlockTest.php.
References ApiTestCase\doLogin().
This test has probably always been broken and use an invalid token Bug tracking brokenness is https://bugzilla.wikimedia.org/35646.
Root cause is https://gerrit.wikimedia.org/r/3434 Which made the Block/Unblock API to actually verify the token previously always considered valid (bug 34212).
Broken
Definition at line 38 of file ApiBlockTest.php.
References $keys, $user, ApiTestCase\doApiRequest(), getTokens(), User\newFromName(), and Block\newFromTarget().