stable

Clone or download

Read-only

Refactoring: extract check of tracker id in a dedicated object

This is part of story #12189 prevent field modification according to state No functional changes here. This object will then be used to check if the provided tracker has a frozen field post action defined. Change-Id: I70e9ec64a666c57722af6abceaf8051731ac69a0

Modified Files

Name
M include/TestManagement/AdminController.class.php +22 −7 Go to diff View file
A include/TestManagement/Administration/TrackerChecker.php +38 −0 Go to diff View file
A include/TestManagement/Administration/TrackerNotInProjectException.php +29 −0 Go to diff View file
M include/TestManagement/Router.class.php +13 −4 Go to diff View file
M include/testmanagementPlugin.class.php +6 −2 Go to diff View file
M phpunit/TestManagement/AdminControllerTest.php +12 −2 Go to diff View file
A phpunit/TestManagement/Administration/TrackerCheckerTest.php +55 −0 Go to diff View file