wiki.techinc.nl/tests/phpunit/includes/auth
Gergő Tisza 55572b08a6 Avoid user autocreation race condition caused by repeatable read
AuthManager tries to check whether the user already exists if
User::addToDatabase fails in autocreation, but since the same DB row
was already checked a few lines earlier and this method is typically
wrapped in an implicit transaction, it will just re-read the same
snapshot and not do anything useful. addToDatabase already has
a check for that so let's rely on that instead.

Bug: T145131
Change-Id: I94a5e8b851dcf994f5f9e773edf4e9153a4a3535
2016-09-08 17:14:15 -07:00
..
AbstractAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
AbstractPasswordPrimaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
AbstractPreAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
AbstractPrimaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
AbstractSecondaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
AuthenticationRequestTest.php AuthManager: Allow for flagging fields as "sensitive" 2016-08-18 19:36:29 +00:00
AuthenticationRequestTestCase.php AuthManager: Allow for flagging fields as "sensitive" 2016-08-18 19:36:29 +00:00
AuthenticationResponseTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
AuthManagerTest.php Avoid user autocreation race condition caused by repeatable read 2016-09-08 17:14:15 -07:00
AuthPluginPrimaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
ButtonAuthenticationRequestTest.php
CheckBlocksSecondaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
ConfirmLinkAuthenticationRequestTest.php
ConfirmLinkSecondaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
CreatedAccountAuthenticationRequestTest.php
CreateFromLoginAuthenticationRequestTest.php AuthManager fixups around the login→RESTART→create flow 2016-05-31 11:44:02 -04:00
CreationReasonAuthenticationRequestTest.php
EmailNotificationSecondaryAuthenticationProviderTest.php Send registration welcome email post-commit 2016-08-19 07:39:39 +00:00
LegacyHookPreAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
LocalPasswordPrimaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
PasswordAuthenticationRequestTest.php
PasswordDomainAuthenticationRequestTest.php
RememberMeAuthenticationRequestTest.php
ResetPasswordSecondaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
TemporaryPasswordAuthenticationRequestTest.php
TemporaryPasswordPrimaryAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
ThrottlePreAuthenticationProviderTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
ThrottlerTest.php Remove $wgDisableAuthManager 2016-08-09 23:00:27 +00:00
UserDataAuthenticationRequestTest.php
UsernameAuthenticationRequestTest.php