Fixed a long-standing broken test:
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 30 Jun 2011 20:11:45 +0000 (20:11 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 30 Jun 2011 20:11:45 +0000 (20:11 +0000)
commit25bf6f5b43f69481b66bfffca26613a3bd6c41a2
tree210e97a56dc7492325e02a7af2e25a589603d25f
parent3ddafb719a819daabf449551026ffec27e00a8ea
Fixed a long-standing broken test:

1) ApiUploadTest::testUploadStash
Failed asserting that <boolean:true> is false.

Did this by copying the correct stuff from $_SESSION to our local $session we're using for the test. Not sure if this is strictly correct, but hey it passes ;-)

Currently at: Tests: 1622, Assertions: 32090, Incomplete: 8, Skipped: 5.
tests/phpunit/includes/api/ApiUploadTest.php