stable

Clone or download

Read-only

GlobalResponseMock helper uses PHPUnit mock system instead of Mockery

Closes request #21326: Favor PHPUnit mock system over Mockery Change-Id: Id526b01c1f90a921b9468bf54e2a24c8388c8757

Modified Files

Name
M plugins/agiledashboard/tests/unit/AgileDashboard/Artifact/RedirectParameterInjectorTest.php +4 −4 Go to diff View file
M plugins/cardwall/tests/unit/Cardwall_CardControllerTest.php +1 −1 Go to diff View file
M plugins/git/tests/unit/GitActionsFetchConfigTest.php +5 −5 Go to diff View file
M plugins/git/tests/unit/GitRepositoryManagerForkTest.php +4 −23 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/Administration/AdminControllerTest.php +12 −8 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/EventRedirectAfterArtifactCreationOrUpdateProcessorTest.php +3 −3 Go to diff View file
M plugins/testplan/tests/unit/TestDefinition/RedirectParameterInjectorTest.php +4 −4 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Changeset/Tracker_Artifact_Changeset_InitialChangesetFieldsValidatorTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/CopyArtifactTest.php +11 −11 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Action/Tracker_Action_UpdateArtifactTest.php +7 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Tracker_ArtifactTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/FormElementTypeUpdaterTest.php +4 −20 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/TrackerFormElementFactoryTest.php +4 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/TrackerFormElementTest.php +11 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Hierarchy/TrackerHierarchyFactoryGetParentArtifactTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Permission/PermissionManagerTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Permission/Tracker_Permission_PermissionManager_AnonymousWithFullAccessTest.php +2 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Permission/Tracker_Permission_PermissionManager_CheckRequestValidityTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Permission/Tracker_Permission_PermissionManager_RegisteredWithFullAccessTest.php +2 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Rules/TrackerRulesListValidatorTest.php +9 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/SemanticTimeframeUpdatorTest.php +14 −14 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerManagerTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/TrackerTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker_FormElement_FieldTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/unit/Workflow/Action/Rules/Tracker_Workflow_Action_Rules_EditRulesTest.php +12 −12 Go to diff View file
M plugins/tracker/tests/unit/Workflow/PostAction/CIBuild/Transition_PostAction_CIBuildTest.php +3 −3 Go to diff View file
M tests/lib/GlobalResponseMock.php +7 −2 Go to diff View file
M tests/unit/common/Include/CSRFSynchronizerTokenTest.php +3 −3 Go to diff View file
M tests/unit/common/Project/ProjectManagerTest.php +1 −1 Go to diff View file
M tests/unit/common/Project/UGroupBindingTest.php +1 −1 Go to diff View file
M tests/unit/common/Project/UGroups/Binding/BoundUGroupRefresherTest.php +2 −3 Go to diff View file
M tests/unit/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithStatusCheckAndNotificationsTest.php +6 −6 Go to diff View file
M tests/unit/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithoutStatusCheckAndNotificationsTest.php +3 −3 Go to diff View file
M tests/unit/common/User/RequestFromAutocompleterTest.php +6 −5 Go to diff View file
M tests/unit/common/User/User_SSHKeyValidator_KeyValidationTest.php +7 −8 Go to diff View file
M tests/unit/common/tracker/ArtifactTest.php +1 −1 Go to diff View file