You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created by elippmann on 2013-09-05 12:01:46 +00:00
Assignee: (none)
Status: Closed (closed on 2014-09-09 14:09:47 +00:00)
Target Version: 2.0-14
Last Update: 2014-09-09 14:09:47 +00:00 (in Redmine)
I refer for example to Icinga\Web\Form which provides the functions setUserPreferences and setConfiguration where the overriden values will be used instead of retrieving them from the request. Especially base classes must not have such bloat. Use mocks instead.
Further Icinga\Module\Monitoring\Form\Command\CommandForm::getAuthorName() returns Test user if the request is of type Zend_Controller_Request_HttpTestCase. Drop that.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/4678
Created by elippmann on 2013-09-05 12:01:46 +00:00
Assignee: (none)
Status: Closed (closed on 2014-09-09 14:09:47 +00:00)
Target Version: 2.0-14
Last Update: 2014-09-09 14:09:47 +00:00 (in Redmine)
I refer for example to
Icinga\Web\Form
which provides the functionssetUserPreferences
and setConfiguration where the overriden values will be used instead of retrieving them from the request. Especially base classes must not have such bloat. Use mocks instead.Further
Icinga\Module\Monitoring\Form\Command\CommandForm::getAuthorName()
returnsTest user
if the request is of typeZend_Controller_Request_HttpTestCase
. Drop that.Relations:
The text was updated successfully, but these errors were encountered: