stable

Clone or download

Read-only

Refactoring: use LicenseAgreementControllersHelper evenly

Add tests on it and use it in all controllers. Closes story #14008 customize FRS Download Agreement in my project. Change-Id: I44c37e9abf201de65074cc10c805396b5071c4b5

Modified Files

Name
M src/common/FRS/LicenseAgreement/Admin/AddLicenseAgreementController.php +12 −14 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementController.php +13 −17 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/ListLicenseAgreementsController.php +14 −15 Go to diff View file
M src/common/Request/RouteCollector.php +12 −3 Go to diff View file
M tests/phpunit/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementControllerTest.php +8 −38 Go to diff View file
A tests/phpunit/common/FRS/LicenseAgreement/Admin/LicenseAgreementControllersHelperTest.php +107 −0 Go to diff View file
M tests/phpunit/common/FRS/LicenseAgreement/Admin/ListLicenseAgreementsControllerTest.php +8 −36 Go to diff View file