stable

Clone or download

Read-only

chore: Continue to drop some Mockery usage in tests

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 Change-Id: I061126fe52df8cb9f19f630cc3ab7e32ceb1e67c

Modified Files

Name
M src/common/User/UserSuspensionManager.php +1 −1 Go to diff View file
M tests/unit/common/User/AccessKey/AccessKeyCreatorTest.php +32 −40 Go to diff View file
M tests/unit/common/User/AccessKey/AccessKeyRevokerTest.php +5 −12 Go to diff View file
M tests/unit/common/User/AccessKey/AccessKeyVerifierTest.php +73 −87 Go to diff View file
M tests/unit/common/User/AccessKey/HTTPBasicAuth/HTTPBasicAuthUserAccessKeyAuthenticatorTest.php +25 −33 Go to diff View file
M tests/unit/common/User/AccessKey/LastAccessKeyIdentifierStoreTest.php +22 −26 Go to diff View file
M tests/unit/common/User/RandomNumberGeneratorTest.php +5 −6 Go to diff View file
M tests/unit/common/User/RequestFromAutocompleterTest.php +48 −35 Go to diff View file
M tests/unit/common/User/SessionManagerTest.php +45 −29 Go to diff View file
M tests/unit/common/User/SwitchToPresenterBuilderTest.php +31 −39 Go to diff View file
M tests/unit/common/User/UserHelperTest.php +147 −133 Go to diff View file
M tests/unit/common/User/UserImportTest.php +46 −50 Go to diff View file
M tests/unit/common/User/UserManagerTest.php +46 −33 Go to diff View file
M tests/unit/common/User/UserNameNormalizerTest.php +16 −19 Go to diff View file
M tests/unit/common/User/UserSuspensionManagerTest.php +78 −72 Go to diff View file
M tests/unit/common/User/User_ForgeUserGroupFactoryTest.php +31 −35 Go to diff View file
M tests/unit/common/User/User_ForgeUserGroupFactory_GetPermissionsForForgeUserGroupTest.php +21 −21 Go to diff View file
M tests/unit/common/User/User_ForgeUserGroupManagerTest.php +15 −19 Go to diff View file
M tests/unit/common/User/User_LoginManagerStatusTest.php +1 −2 Go to diff View file
M tests/unit/common/User/User_LoginManagerTest.php +52 −27 Go to diff View file
M tests/unit/common/User/User_SSHKeyValidator_InputManagementTest.php +13 −13 Go to diff View file
M tests/unit/common/User/UsersTest.php +6 −13 Go to diff View file