stable

Clone or download

Read-only

chore: Decrease usage of Mockery

This is part of request #21775 Favor PHPUnit mock system over Mockery - part 2 * Plugin api_explorer * Plugin archivedeleteditems * Plugin bugzilla_reference * Plugin captcha * Plugin create_test_env * Plugin label * Plugin project_ownership Change-Id: I8f5c6bfd320e478e996946c4e7e630da2409f9cf

Modified Files

Name
M plugins/api_explorer/tests/unit/ExplorerControllerTest.php +7 −10 Go to diff View file
M plugins/api_explorer/tests/unit/Specification/Swagger/SwaggerJsonControllerTest.php +5 −9 Go to diff View file
M plugins/archivedeleteditems/tests/unit/FileCopierTest.php +13 −15 Go to diff View file
M plugins/bugzilla_reference/tests/unit/Bugzilla/CrossReferenceCreatorTest.php +24 −17 Go to diff View file
M plugins/bugzilla_reference/tests/unit/Bugzilla/RESTReferenceCreatorTest.php +6 −9 Go to diff View file
M plugins/captcha/tests/unit/ConfigurationRetrieverTest.php +8 −12 Go to diff View file
M plugins/captcha/tests/unit/ConfigurationSaverTest.php +8 −12 Go to diff View file
M plugins/create_test_env/tests/unit/CreateTestEnv/CreateTestProjectTest.php +10 −12 Go to diff View file
M plugins/create_test_env/tests/unit/CreateTestEnv/XMLDateUpdater/DateUpdaterTest.php +10 −10 Go to diff View file
M plugins/label/tests/unit/ProjectLabelRequestDataValidatorTest.php +16 −21 Go to diff View file
M plugins/project_ownership/tests/unit/ProjectAdmin/IndexControllerTest.php +19 −23 Go to diff View file
M plugins/project_ownership/tests/unit/ProjectOwner/ProjectOwnerRetrieverTest.php +17 −21 Go to diff View file
M plugins/project_ownership/tests/unit/ProjectOwner/ProjectOwnerUpdaterTest.php +17 −20 Go to diff View file
M plugins/project_ownership/tests/unit/ProjectOwner/UserWithStarBadgeFinderTest.php +5 −3 Go to diff View file
M plugins/project_ownership/tests/unit/ProjectOwner/XMLProjectImportUserCreatorProjectOwnerCleanerTest.php +19 −21 Go to diff View file
M tests/psalm/psalm.xml +7 −0 Go to diff View file