wiki.techinc.nl/tests/phpunit/includes/user
Thiemo Kreuz b655f382db Remove broken/outdated @param/@throws tags from @dataProviders
My personal best practice is to not document @params when there
is a @dataProvider. I mean, these test…() functions are not
meant to be called from anywhere. They do not really need
documentation. @param tags don't do much but duplicate what the
@dataProvider does. This is error-prone, as demonstrated by the
examples in this patch.

This patch also removes @throws tags from tests. A test…() can
never throw an exception. Otherwise the test would fail.

Most of these are found by the not yet released I10559d8.

Change-Id: I3782bca43f875687cd2be972144a7ab6b298454e
2021-01-21 03:42:42 +00:00
..
BotPasswordTest.php Validate max length of bp_restrictions and bp_grants 2020-12-05 02:10:01 +00:00
CentralIdLookupTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
DefaultOptionsLookupTest.php Rename DefaultOptionsManager to DefaultOptionsLookup 2020-05-11 12:19:13 -07:00
ExternalUserNamesTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
LocalIdLookupTest.php Deprecate DatabaseBlock methods moved to DatabaseBlockStore 2020-09-13 22:17:27 +00:00
PasswordResetTest.php Inject dependencies into PasswordReset, and cleanup 2020-10-03 00:23:59 +00:00
TalkPageNotificationManagerTest.php EditPage: Add two more constraints 2020-11-11 23:15:42 +00:00
UserGroupManagerTest.php Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
UserGroupMembershipTest.php Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
UserNameUtilsTest.php Deprecate InterwikiLoadPrefix hook 2020-12-21 19:28:48 +00:00
UserOptionsLookupTest.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
UserOptionsManagerTest.php UserOptionsManager: fix options reset. 2020-08-07 06:38:00 +00:00
UserTest.php Make User implement Authority 2021-01-19 18:08:12 -06:00