stable

Clone or download

Read-only

chore: Drop some Mockery usage in core tests

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

Modified Files

Name
M tests/unit/common/User/History/HistoryCleanerTest.php +6 −6 Go to diff View file
M tests/unit/common/User/OAuth2/Scope/OAuth2ScopeExtractorRESTEndpointTest.php +12 −20 Go to diff View file
M tests/unit/common/User/Password/Reset/CreatorTest.php +11 −13 Go to diff View file
M tests/unit/common/User/Password/Reset/RevokerTest.php +2 −4 Go to diff View file
M tests/unit/common/User/Password/Reset/VerifierTest.php +40 −41 Go to diff View file
M tests/unit/common/User/Profile/ProfileAsJSONForTooltipControllerTest.php +29 −30 Go to diff View file
M tests/unit/common/User/SSHKey/SSHKeyCreateControllerTest.php +9 −21 Go to diff View file
M tests/unit/common/User/SSHKey/SSHKeyDeleteControllerTest.php +9 −21 Go to diff View file
M tests/unit/common/User/XML/Import/MappingFileOptimusPrimeTransformerTest.php +42 −44 Go to diff View file
M tests/unit/common/User/XML/Import/ReadyToBeImportedUsersCollectionTest.php +8 −8 Go to diff View file
M tests/unit/common/User/XML/Import/UsersToBeImportedCollectionBuilderTest.php +56 −42 Go to diff View file
M tests/unit/common/User/XML/Import/UsersToBeImportedCollectionTest.php +17 −34 Go to diff View file
M tests/unit/common/User/XML/Import/WillBeCreatedUserTest.php +10 −15 Go to diff View file
M tests/unit/common/User/XML/UserXMLExporterTest.php +25 −19 Go to diff View file
M tests/unit/common/valid/Rule_UserNameIntegrationTest.php +83 −60 Go to diff View file
M tests/unit/common/wiki/PermissionsManagerTest.php +82 −67 Go to diff View file
M tests/unit/common/wiki/WikiTest.php +16 −15 Go to diff View file