stable

Clone or download

Read-only

Add missings tests for ArtifactDeletionLimitRetriever && ArtifactsDeletionConfig

part of story #32280 Complete the "move artifact" feature No functional changes Change-Id: Ife94d73faf707abcfd12679c6bbc72580d8d7224

Modified Files

Name
M plugins/tracker/include/REST/v1/Move/MovePatchAction.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Admin/ArtifactsDeletion/ArtifactsDeletionConfig.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Admin/ArtifactsDeletion/ArtifactsDeletionConfigController.php +5 −27 Go to diff View file
A plugins/tracker/include/Tracker/Admin/ArtifactsDeletion/ConfigurationArtifactsDeletion.php +28 −0 Go to diff View file
A plugins/tracker/include/Tracker/Admin/ArtifactsDeletion/RetrieveUserDeletionForLastDay.php +30 −0 Go to diff View file
M plugins/tracker/include/Tracker/Admin/ArtifactsDeletion/UserDeletionRetriever.php +3 −9 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactMoveButtonPresenterBuilder.php +3 −14 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArtifactDeletionLimitRetriever.php +5 −5 Go to diff View file
A plugins/tracker/tests/unit/Stub/ConfigurationArtifactsDeletionStub.php +42 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/RetrieveUserDeletionForLastDayStub.php +43 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/ActionButton/ArtifactMoveButtonPresenterBuilderTest.php +53 −49 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Admin/ArtifactDeletion/ArtifactsDeletionConfigTest.php +50 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/ArtifactsDeletion/ArtifactDeletionLimitRetrieverTest.php +60 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/REST/v1/Move/MovePatchActionTest.php +4 −4 Go to diff View file