stable

Clone or download

Read-only

Mass Convert Core User tests to mockery

This converts everything that was possible to do in an automated way and tests are still green. The remaining test classes will be the subject of another attempt. request #14150 Get rid of SimpleTest Change-Id: I298ac7db949670f793d556f1e2ff404209ebcc93

Modified Files

Name
M tests/simpletest/common/User/Admin/UserStatusBuilderTest.php +5 −4 Go to diff View file
M tests/simpletest/common/User/Admin/UserStatusCheckerTest.php +5 −4 Go to diff View file
M tests/simpletest/common/User/ForgeUserGroupFactoryTest.php +9 −7 Go to diff View file
M tests/simpletest/common/User/ForgeUserGroupManagerTest.php +9 −7 Go to diff View file
M tests/simpletest/common/User/ForgeUserGroupPermission/SiteAdministratorPermissionCheckerTest.php +10 −9 Go to diff View file
M tests/simpletest/common/User/ForgeUserGroupPermissionsFactoryTest.php +7 −5 Go to diff View file
M tests/simpletest/common/User/GenericUserFactoryTest.php +7 −6 Go to diff View file
M tests/simpletest/common/User/History/HistoryCleanerTest.php +1 −1 Go to diff View file
M tests/simpletest/common/User/Password/Reset/CreatorTest.php +7 −7 Go to diff View file
M tests/simpletest/common/User/Password/Reset/RevokerTest.php +4 −4 Go to diff View file
M tests/simpletest/common/User/Password/Reset/VerifierTest.php +24 −28 Go to diff View file
M tests/simpletest/common/User/PasswordExpirationCheckerTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/UserImportTest.php +17 −16 Go to diff View file
M tests/simpletest/common/User/UserStatusManagerTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/User_SOAPServerTest.php +15 −17 Go to diff View file
M tests/simpletest/common/User/User_SSHKeyValidatorTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/Import/AlreadyExistingUserTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/Import/EmailDoesNotMatchUserTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/Import/MappingFileOptimusPrimeTransformerTest.php +5 −4 Go to diff View file
M tests/simpletest/common/User/XML/Import/MappingTest.php +15 −26 Go to diff View file
M tests/simpletest/common/User/XML/Import/ReadyToBeImportedUsersCollectionTest.php +3 −2 Go to diff View file
M tests/simpletest/common/User/XML/Import/ToBeActivatedUserTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/Import/ToBeCreatedUserTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/Import/ToBeMappedUserTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/Import/UsersToBeImportedCollectionBuilderTest.php +17 −14 Go to diff View file
M tests/simpletest/common/User/XML/Import/UsersToBeImportedCollectionTest.php +20 −19 Go to diff View file
M tests/simpletest/common/User/XML/UserXMLExportedCollectionTest.php +1 −0 Go to diff View file
M tests/simpletest/common/User/XML/UserXMLExporterTest.php +8 −7 Go to diff View file