stable

Clone or download

Read-only

Adapters must never be mocked in test for BackgroundColorRetriever

part of request #23433 Clean program management tests No functional changes Change-Id: Id3d495dfd04f43a22d356ebea99de4a1e9888677

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Feature/BackgroundColorRetriever.php +15 −10 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/FeatureRepresentationBuilder.php +7 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/Links/UserStoryRepresentationBuilder.php +7 −3 Go to diff View file
A plugins/program_management/include/Domain/Program/Feature/RetrieveBackgroundColor.php +33 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramBacklogItemsResource.php +14 −6 Go to diff View file
M plugins/program_management/include/REST/v1/ProgramIncrementResource.php +5 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +5 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Content/FeatureContentRetrieverTest.php +4 −9 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureElementsRetrieverTest.php +3 −16 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/FeatureRepresentationBuilderTest.php +4 −6 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryRepresentationBuilderTest.php +7 −15 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveBackgroundColorStub.php +48 −0 Go to diff View file