stable

Clone or download

Read-only

Refactoring: Feedback and redirection must be done by the controller

This is part of story #12189 prevent field modification according to state No functional change expected here. Move the responsibility of doing redirection and feedbacks from the config creator to the controller. Change-Id: I5718c331c872ec54d99bf54cf736f58a717d571a

Modified Files

Name
M include/TestManagement/FirstConfigCreator.class.php +24 −33 Go to diff View file
M include/TestManagement/StartTestManagementController.php +35 −5 Go to diff View file
A include/TestManagement/TrackerComesFromLegacyEngineException.php +46 −0 Go to diff View file
A include/TestManagement/TrackerNotCreatedException.php +25 −0 Go to diff View file
M include/testmanagementPlugin.class.php +12 −3 Go to diff View file
M phpunit/TestManagement/FirstConfigCreatorTest.php +40 −15 Go to diff View file