Unit test for User::getEditCount
authorMarius Hoch <hoo@online.de>
Thu, 18 Oct 2012 03:03:10 +0000 (05:03 +0200)
committerMarius Hoch <hoo@online.de>
Thu, 18 Oct 2012 14:48:35 +0000 (16:48 +0200)
commite65eb02d3e1d5ad49b50f4c95d6f5d21fa40e80a
treed3c535c508ce9fdb3d46dd3eb79e091948ff161b
parent4b3a426ae08389436cd337a109de4888dc445250
Unit test for User::getEditCount

Rather trivial test for User::getEditCount as suggested by
Siebrand in https://gerrit.wikimedia.org/r/26457

This required adding the User in the test to DB, as the data
is written to and read from the DB.

Change-Id: Ic4e55c01247158315b759654b34fdbdf9a61db01
tests/phpunit/includes/UserTest.php