stable

Clone or download

Read-only

tech: Do not use Mockery anymore in program management unit tests

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

Modified Files

Name
M plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorPresenterBuilderTest.php +12 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/ArtifactVisibleVerifierTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/LastChangesetRetrieverTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/StatusValueMapperTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/RequiredFieldCheckerTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/SemanticCheckerTest.php +16 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/StatusSemanticCheckerTest.php +16 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/WorkflowCheckerTest.php +5 −5 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Content/FeatureAdditionProcessorTest.php +11 −14 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Content/FeatureRemovalProcessorTest.php +41 −43 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementsRetrieverTest.php +6 −7 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProjectFromTrackerRetrieverTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/Rank/FeaturesRankOrdererTest.php +7 −10 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ArtifactTopBacklogActionBuilderTest.php +20 −35 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionBuilderTest.php +7 −16 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/MassChangeTopBacklogActionProcessorTest.php +36 −37 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php +54 −57 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionFactoryTest.php +18 −20 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionJSONParserTest.php +11 −14 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionRepresentationTest.php +3 −6 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionTest.php +21 −23 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionValueTest.php +2 −5 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Workflow/AddToTopBacklogPostActionValueUpdaterTest.php +9 −12 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Content/ProgramIncrementContentRetrieverTest.php +35 −38 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureElementsRetrieverTest.php +37 −40 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureRepresentationBuilderTest.php +47 −34 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryLinkedToFeatureCheckerTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryRepresentationBuilderTest.php +41 −68 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/VerifyIsVisibleFeatureAdapterTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/IterationTracker/VisibleIterationTrackerRetrieverTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Plan/ProgramAdapterTest.php +21 −18 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/PlanningAdapterTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/ProgramIncrementTracker/VisibleProgramIncrementTrackerRetrieverTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/ProgramUserGroupRetrieverTest.php +8 −11 Go to diff View file
M plugins/program_management/tests/unit/Adapter/ProjectAdmin/PermissionPerGroupSectionBuilderTest.php +34 −37 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Team/TeamAdapterTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/TrackerSemanticsTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/UserCanSubmitInTrackerVerifierTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/UserManagerAdapterTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +5 −5 Go to diff View file
M plugins/program_management/tests/unit/DisplayProgramBacklogControllerTest.php +12 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactCreatedHandlerTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreatorTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ConfigurationErrorsGathererTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/IterationCreatorCheckerTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorCheckerTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SynchronizedFieldFromProgramAndTeamTrackersCollectionTest.php +4 −8 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/FieldPermissionsVerifierTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/TrackerFromFieldRetrieverTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/PlanCreatorTest.php +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Team/TeamCreatorTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/ProgramManagementBreadCrumbsBuilderTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUserStub.php +5 −5 Go to diff View file