Fix LegacyHookPreAuthenticationProvider::testUserForCreation
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 16 Jun 2016 21:44:44 +0000 (17:44 -0400)
committerAnomie <bjorsch@wikimedia.org>
Mon, 20 Jun 2016 15:28:21 +0000 (15:28 +0000)
commit78cb13c3691883cf6faa4e888dc21af3b1ebb686
tree452c1ab9bb888d56c19a3ff4c5b3b95d6a06f927
parentcd763560c85e783f095ca5f740ea6492119e3b8f
Fix LegacyHookPreAuthenticationProvider::testUserForCreation

Simply testing shouldn't call AbortNewAccount, we only want to do that
when the account is actually being created.

Change-Id: Icb3d1ce63a2691aa232b4564ed88fee6d50d7ab7
includes/auth/LegacyHookPreAuthenticationProvider.php
tests/phpunit/includes/auth/LegacyHookPreAuthenticationProviderTest.php