stable

Clone or download

Read-only

chore: Drop some Mockery usages in TTM

Part of request #21775 Favor PHPUnit mock system over Mockery - part 2 *No functional changes expected* Change-Id: I53cacd7bb443870dcae6c7d4bc2682859a37e92a

Modified Files

Name
M plugins/testmanagement/include/TestManagement/Config.class.php +2 −11 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/AssignedToRepresentationBuilder.php +3 −13 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignCreator.class.php +6 −6 Go to diff View file
M plugins/testmanagement/tests/unit/Builders/StepDefinitionFieldBuilder.php +3 −3 Go to diff View file
M plugins/testmanagement/tests/unit/Builders/StepExecutionFieldBuilder.php +3 −3 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/Campaign/CloseCampaignControllerTest.php +67 −62 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/CampaignCreatorTest.php +75 −100 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/ConfigTest.php +19 −37 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/FirstConfigCreatorTest.php +187 −218 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/GetURIForMilestoneFromTTMTest.php +15 −25 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/FormattedChangesetValueForIntFieldRetrieverTest.php +23 −35 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/FormattedChangesetValueForListFieldRetrieverTest.php +38 −51 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/FormattedChangesetValueForTextFieldRetrieverTest.php +32 −45 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/TestsDataFromJunitExtractorTest.php +105 −25 Go to diff View file
R plugins/testmanagement/tests/unit/TestManagement/REST/v1/AssignedToRepresentationBuilder.php Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/REST/v1/CampaignArtifactUpdateFieldValuesBuilderTest.php +59 −141 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/TestmanagementTrackersConfiguratorTest.php +0 −4 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/TestmanagementTrackersCreatorTest.php +30 −43 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/TypeCoveredByOverriderTest.php +54 −53 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/XML/ExporterTest.php +43 −56 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/XML/ImportXMLFromTrackerTest.php +0 −13 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/XML/TrackerArtifactXMLImportXMLImportFieldStrategyStepsTest.php +8 −12 Go to diff View file
M plugins/testmanagement/tests/unit/TestManagement/XML/TrackerXMLExporterChangesetValueStepDefinitionXMLExporterTest.php +13 −17 Go to diff View file
M tests/psalm/psalm.xml +0 −1 Go to diff View file