stable

Clone or download

Read-only

Prevent update of TTM config if step def is used

Part of story #11390 have base of steps across the stack How to test: - Add a Step definition field on the Test Definition Tracker - Go to TTM Administration - The input should be disabled with a message explaining that you must first remove the Step field before being able to change the tracker Change-Id: I8a7f52b823778cc8568ae2672688db6c4f7f0def

Modified Files

Name
M include/TestManagement/AdminController.class.php +42 −10 Go to diff View file
M include/TestManagement/AdminPresenter.class.php +15 −1 Go to diff View file
A include/TestManagement/Administration/StepFieldUsageDetector.php +56 −0 Go to diff View file
M include/TestManagement/Router.class.php +25 −3 Go to diff View file
M include/TestManagement/Step/Definition/Field/StepDefinition.php +1 −0 Go to diff View file
M include/autoload.php +3 −2 Go to diff View file
M include/testmanagementPlugin.class.php +18 −8 Go to diff View file
A phpunit/TestManagement/AdminControllerTest.php +228 −0 Go to diff View file
M phpunit/bootstrap.php +1 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-testmanagement.po +27 −3 Go to diff View file
M site-content/tuleap-testmanagement.pot +21 −0 Go to diff View file
M templates/admin.mustache +14 −1 Go to diff View file