Reset the cache used in User::idFromName(), otherwise tests will try to add the user...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 25 Jan 2011 16:32:43 +0000 (16:32 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 25 Jan 2011 16:32:43 +0000 (16:32 +0000)
commitde4a9c6b9a6a9be1b466d92edaad88e08d71fb22
treef237848b79e0e5bb9385c93aea2096eea1e7321c
parentbc650e89e7cbd090707fbc3f854985ebdbf95d2a
Reset the cache used in User::idFromName(), otherwise tests will try to add the user '127.0.0.1' multiple times, resulting in a database error (duplicate key for `user_name` field)
includes/User.php
tests/phpunit/MediaWikiTestCase.php