From d78a5338dfae1cdceee2a7c4d5e98ce04688cfa0 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 6 Aug 2013 11:01:43 +0200 Subject: [PATCH] Rename ConfirmationForm and ConfirmationWithIdentifierForm Rename ConfirmationForm to CommandForm and ConfirmationWithIdentifierForm to CommandWithIdentifierForm. refs #4439 --- .../controllers/CommandController.php | 44 +++++++++---------- .../forms/Command/AcknowledgeForm.php | 4 +- .../{ConfirmationForm.php => CommandForm.php} | 2 +- ...Form.php => CommandWithIdentifierForm.php} | 4 +- .../application/forms/Command/CommentForm.php | 4 +- .../forms/Command/CustomNotificationForm.php | 4 +- .../forms/Command/DelayNotificationForm.php | 4 +- .../forms/Command/RescheduleNextCheckForm.php | 2 +- .../forms/Command/ScheduleDowntimeForm.php | 2 +- .../Command/SubmitPassiveCheckResultForm.php | 4 +- .../forms/Command/WithChildrenCommandForm.php | 2 +- .../forms/Command/AcknowledgeFormTest.php | 2 +- .../forms/Command/CommentFormTest.php | 2 +- .../forms/Command/ConfirmationFormTest.php | 10 ++--- .../ConfirmationWithIdentifierFormTest.php | 10 ++--- .../Command/CustomNotificationFormTest.php | 2 +- .../Command/DelayNotificationFormTest.php | 2 +- .../Command/RescheduleNextCheckFormTest.php | 2 +- .../Command/ScheduleDowntimeFormTest.php | 2 +- .../Command/SubmitPassiveCheckResultTest.php | 2 +- 20 files changed, 55 insertions(+), 55 deletions(-) rename modules/monitoring/application/forms/Command/{ConfirmationForm.php => CommandForm.php} (99%) rename modules/monitoring/application/forms/Command/{ConfirmationWithIdentifierForm.php => CommandWithIdentifierForm.php} (97%) diff --git a/modules/monitoring/application/controllers/CommandController.php b/modules/monitoring/application/controllers/CommandController.php index 6d5a345e5..16754c8f9 100644 --- a/modules/monitoring/application/controllers/CommandController.php +++ b/modules/monitoring/application/controllers/CommandController.php @@ -42,8 +42,8 @@ use Icinga\Exception\ConfigurationError; use Icinga\Exception\MissingParameterException; use Monitoring\Form\Command\AcknowledgeForm; use Monitoring\Form\Command\CommentForm; -use Monitoring\Form\Command\ConfirmationForm; -use Monitoring\Form\Command\ConfirmationWithIdentifierForm; +use Monitoring\Form\Command\CommandForm; +use Monitoring\Form\Command\CommandWithIdentifierForm; use Monitoring\Form\Command\CustomNotificationForm; use Monitoring\Form\Command\DelayNotificationForm; use Monitoring\Form\Command\RescheduleNextCheckForm; @@ -247,7 +247,7 @@ class Monitoring_CommandController extends ModuleActionController public function disableactivechecksAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Disable active checks')); $form->addNote(t('Disable active checks for this object.')); @@ -265,7 +265,7 @@ class Monitoring_CommandController extends ModuleActionController public function enableactivechecksAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Enable active checks')); $form->addNote(t('Enable active checks for this object.')); @@ -320,7 +320,7 @@ class Monitoring_CommandController extends ModuleActionController public function stopobsessingAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Stop obsessing')); $form->addNote(t('Stop obsessing over this object.')); @@ -338,7 +338,7 @@ class Monitoring_CommandController extends ModuleActionController public function startobsessingAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Start obsessing')); $form->addNote(t('Start obsessing over this object.')); @@ -356,7 +356,7 @@ class Monitoring_CommandController extends ModuleActionController public function stopacceptingpassivechecksAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Stop accepting passive checks')); $form->addNote(t('Passive checks for this object will be omitted.')); @@ -374,7 +374,7 @@ class Monitoring_CommandController extends ModuleActionController public function startacceptingpassivechecksAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Start accepting passive checks')); $form->addNote(t('Passive checks for this object will be accepted.')); @@ -392,7 +392,7 @@ class Monitoring_CommandController extends ModuleActionController public function disablenotificationsAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Disable notifications')); $form->addNote(t('Notifications for this object will be disabled.')); @@ -409,7 +409,7 @@ class Monitoring_CommandController extends ModuleActionController */ public function enablenotificationsAction() { - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Enable notifications')); $form->addNote(t('Notifications for this object will be enabled.')); @@ -483,7 +483,7 @@ class Monitoring_CommandController extends ModuleActionController public function removedowntimeswithchildrenAction() { $this->setSupportedParameters(array('host')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Remove downtime(s)')); $form->addNote(t('Remove downtime(s) from this host and its services.')); @@ -501,7 +501,7 @@ class Monitoring_CommandController extends ModuleActionController public function disablenotificationswithchildrenAction() { $this->setSupportedParameters(array('host')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Disable notifications')); $form->addNote(t('Notifications for this host and its services will be disabled.')); @@ -520,7 +520,7 @@ class Monitoring_CommandController extends ModuleActionController public function enablenotificationswithchildrenAction() { $this->setSupportedParameters(array('host')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Enable notifications')); $form->addNote(t('Notifications for this host and its services will be enabled.')); @@ -564,7 +564,7 @@ class Monitoring_CommandController extends ModuleActionController public function disableactivecheckswithchildrenAction() { $this->setSupportedParameters(array('host')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Disable active checks')); $form->addNote(t('Disable active checks for this host and its services.')); @@ -583,7 +583,7 @@ class Monitoring_CommandController extends ModuleActionController public function enableactivecheckswithchildrenAction() { $this->setSupportedParameters(array('host')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Enable active checks')); $form->addNote(t('Enable active checks for this host and its services.')); @@ -602,7 +602,7 @@ class Monitoring_CommandController extends ModuleActionController public function disableeventhandlerAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Disable event handler')); $form->addNote(t('Disable event handler for this object.')); @@ -620,7 +620,7 @@ class Monitoring_CommandController extends ModuleActionController public function enableeventhandlerAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Enable event handler')); $form->addNote(t('Enable event handler for this object.')); @@ -638,7 +638,7 @@ class Monitoring_CommandController extends ModuleActionController public function disableflapdetectionAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Disable flapping detection')); $form->addNote(t('Disable flapping detection for this object.')); @@ -656,7 +656,7 @@ class Monitoring_CommandController extends ModuleActionController public function enableflapdetectionAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Enable flapping detection')); $form->addNote(t('Enable flapping detection for this object.')); @@ -691,7 +691,7 @@ class Monitoring_CommandController extends ModuleActionController public function resetattributesAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Reset attributes')); $form->addNote(t('Reset modified attributes to its default.')); @@ -726,7 +726,7 @@ class Monitoring_CommandController extends ModuleActionController public function removeacknowledgementAction() { $this->setSupportedParameters(array('host', 'service')); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Remove problem acknowledgement')); $form->addNote(t('Remove problem acknowledgement for this object.')); @@ -761,7 +761,7 @@ class Monitoring_CommandController extends ModuleActionController public function removedowntimeAction() { $this->setSupportedParameters(array('downtimeid')); - $form = new ConfirmationWithIdentifierForm(); + $form = new CommandWithIdentifierForm(); $form->setRequest($this->getRequest()); $form->setSubmitLabel(t('Delete downtime')); diff --git a/modules/monitoring/application/forms/Command/AcknowledgeForm.php b/modules/monitoring/application/forms/Command/AcknowledgeForm.php index 5a6f0c370..0a4f93578 100644 --- a/modules/monitoring/application/forms/Command/AcknowledgeForm.php +++ b/modules/monitoring/application/forms/Command/AcknowledgeForm.php @@ -37,11 +37,11 @@ use Icinga\Protocol\Commandpipe\Comment; /** * Form for acknowledge commands */ -class AcknowledgeForm extends ConfirmationForm +class AcknowledgeForm extends CommandForm { /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/ConfirmationForm.php b/modules/monitoring/application/forms/Command/CommandForm.php similarity index 99% rename from modules/monitoring/application/forms/Command/ConfirmationForm.php rename to modules/monitoring/application/forms/Command/CommandForm.php index 2251c2b18..4ca1e4e82 100644 --- a/modules/monitoring/application/forms/Command/ConfirmationForm.php +++ b/modules/monitoring/application/forms/Command/CommandForm.php @@ -36,7 +36,7 @@ use \Zend_Validate_Date; /** * Simple confirmation command */ -class ConfirmationForm extends Form +class CommandForm extends Form { /** * Default date format diff --git a/modules/monitoring/application/forms/Command/ConfirmationWithIdentifierForm.php b/modules/monitoring/application/forms/Command/CommandWithIdentifierForm.php similarity index 97% rename from modules/monitoring/application/forms/Command/ConfirmationWithIdentifierForm.php rename to modules/monitoring/application/forms/Command/CommandWithIdentifierForm.php index 5d3838fee..131d9178a 100644 --- a/modules/monitoring/application/forms/Command/ConfirmationWithIdentifierForm.php +++ b/modules/monitoring/application/forms/Command/CommandWithIdentifierForm.php @@ -33,7 +33,7 @@ use \Zend_Form_Element_Hidden; /** * Form to handle confirmations with a single value processed */ -class ConfirmationWithIdentifierForm extends ConfirmationForm +class CommandWithIdentifierForm extends CommandForm { /** * Identifier for data field @@ -124,7 +124,7 @@ class ConfirmationWithIdentifierForm extends ConfirmationForm /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/CommentForm.php b/modules/monitoring/application/forms/Command/CommentForm.php index 51d16f840..2e789dc99 100644 --- a/modules/monitoring/application/forms/Command/CommentForm.php +++ b/modules/monitoring/application/forms/Command/CommentForm.php @@ -32,11 +32,11 @@ use Icinga\Protocol\Commandpipe\Comment; /** * Form for adding comment commands */ -class CommentForm extends ConfirmationForm +class CommentForm extends CommandForm { /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/CustomNotificationForm.php b/modules/monitoring/application/forms/Command/CustomNotificationForm.php index f3217a50e..7244fb759 100644 --- a/modules/monitoring/application/forms/Command/CustomNotificationForm.php +++ b/modules/monitoring/application/forms/Command/CustomNotificationForm.php @@ -33,11 +33,11 @@ use Zend_Form_Element_Hidden; /** * For for command CustomNotification */ -class CustomNotificationForm extends ConfirmationForm +class CustomNotificationForm extends CommandForm { /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/DelayNotificationForm.php b/modules/monitoring/application/forms/Command/DelayNotificationForm.php index 59ec290da..13fde8a25 100644 --- a/modules/monitoring/application/forms/Command/DelayNotificationForm.php +++ b/modules/monitoring/application/forms/Command/DelayNotificationForm.php @@ -31,7 +31,7 @@ namespace Monitoring\Form\Command; /** * Form to handle DelayNotification command */ -class DelayNotificationForm extends ConfirmationForm +class DelayNotificationForm extends CommandForm { /** * Biggest value for minutes @@ -39,7 +39,7 @@ class DelayNotificationForm extends ConfirmationForm const MAX_VALUE = 1440; /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/RescheduleNextCheckForm.php b/modules/monitoring/application/forms/Command/RescheduleNextCheckForm.php index 3d5ea4730..80b1e913c 100644 --- a/modules/monitoring/application/forms/Command/RescheduleNextCheckForm.php +++ b/modules/monitoring/application/forms/Command/RescheduleNextCheckForm.php @@ -39,7 +39,7 @@ class RescheduleNextCheckForm extends WithChildrenCommandForm { /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/ScheduleDowntimeForm.php b/modules/monitoring/application/forms/Command/ScheduleDowntimeForm.php index 0c48e74e3..5bb1e8e49 100644 --- a/modules/monitoring/application/forms/Command/ScheduleDowntimeForm.php +++ b/modules/monitoring/application/forms/Command/ScheduleDowntimeForm.php @@ -93,7 +93,7 @@ class ScheduleDowntimeForm extends WithChildrenCommandForm /** * Interface method to build the form * - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/SubmitPassiveCheckResultForm.php b/modules/monitoring/application/forms/Command/SubmitPassiveCheckResultForm.php index f1e8861ea..56fe6a394 100644 --- a/modules/monitoring/application/forms/Command/SubmitPassiveCheckResultForm.php +++ b/modules/monitoring/application/forms/Command/SubmitPassiveCheckResultForm.php @@ -33,7 +33,7 @@ use Icinga\Exception\ProgrammingError; /** * Form for command SubmitPassiveCheckResult */ -class SubmitPassiveCheckResultForm extends ConfirmationForm +class SubmitPassiveCheckResultForm extends CommandForm { /** * Type constant for host form @@ -117,7 +117,7 @@ class SubmitPassiveCheckResultForm extends ConfirmationForm /** * Interface method to build the form - * @see ConfirmationForm::create + * @see CommandForm::create */ protected function create() { diff --git a/modules/monitoring/application/forms/Command/WithChildrenCommandForm.php b/modules/monitoring/application/forms/Command/WithChildrenCommandForm.php index b9dd6760b..2982b136e 100644 --- a/modules/monitoring/application/forms/Command/WithChildrenCommandForm.php +++ b/modules/monitoring/application/forms/Command/WithChildrenCommandForm.php @@ -31,7 +31,7 @@ namespace Monitoring\Form\Command; /** * Class handle specific command flags */ -abstract class WithChildrenCommandForm extends ConfirmationForm +abstract class WithChildrenCommandForm extends CommandForm { /** * Flag if we handle child objects as well diff --git a/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php b/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php index e309b3dc0..b39af8e77 100644 --- a/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/AcknowledgeFormTest.php @@ -6,7 +6,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__.'/BaseFormTest.php'; $base = __DIR__.'/../../../../../../../'; -require_once $base.'modules/monitoring/application/forms/Command/ConfirmationForm.php'; +require_once $base.'modules/monitoring/application/forms/Command/CommandForm.php'; require_once realpath($base.'modules/monitoring/application/forms/Command/WithChildrenCommandForm.php'); require_once realpath($base.'modules/monitoring/application/forms/Command/AcknowledgeForm.php'); diff --git a/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php b/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php index 9e4eb4422..8447d6528 100644 --- a/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/CommentFormTest.php @@ -4,7 +4,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__.'/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/WithChildrenCommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/CommentForm.php'; diff --git a/modules/monitoring/test/php/application/forms/Command/ConfirmationFormTest.php b/modules/monitoring/test/php/application/forms/Command/ConfirmationFormTest.php index c5e6330ec..70e8b64c6 100644 --- a/modules/monitoring/test/php/application/forms/Command/ConfirmationFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/ConfirmationFormTest.php @@ -4,19 +4,19 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__.'/BaseFormTest.php'; require_once __DIR__. '/../../../../../../../library/Icinga/Web/Form.php'; require_once __DIR__. '/../../../../../../../library/Icinga/Web/Form/Element/Note.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; use \Zend_View; use \Zend_Test_PHPUnit_ControllerTestCase; -use Monitoring\Form\Command\ConfirmationForm; +use Monitoring\Form\Command\CommandForm; -class ConfirmationFormTest extends BaseFormTest +class CommandFormTest extends BaseFormTest { public function testFormCreation() { $view = new Zend_View(); - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->setRequest($this->getRequest()); @@ -33,7 +33,7 @@ class ConfirmationFormTest extends BaseFormTest public function testFormNotes() { - $form = new ConfirmationForm(); + $form = new CommandForm(); $form->addNote('test1'); $form->addNote('test2'); diff --git a/modules/monitoring/test/php/application/forms/Command/ConfirmationWithIdentifierFormTest.php b/modules/monitoring/test/php/application/forms/Command/ConfirmationWithIdentifierFormTest.php index 4d6e5d77c..bce0ab5c9 100644 --- a/modules/monitoring/test/php/application/forms/Command/ConfirmationWithIdentifierFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/ConfirmationWithIdentifierFormTest.php @@ -4,17 +4,17 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__. '/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/WithChildrenCommandForm.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationWithIdentifierForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandWithIdentifierForm.php'; -use Monitoring\Form\Command\ConfirmationWithIdentifierForm; +use Monitoring\Form\Command\CommandWithIdentifierForm; use \Zend_View; use \Zend_Test_PHPUnit_ControllerTestCase; -class ConfirmationWithIdentifierFormTest extends BaseFormTest +class CommandWithIdentifierFormTest extends BaseFormTest { - const FORMCLASS = "Monitoring\Form\Command\ConfirmationWithIdentifierForm"; + const FORMCLASS = "Monitoring\Form\Command\CommandWithIdentifierForm"; public function testForm() { $form = $this->getRequestForm(array(), self::FORMCLASS); diff --git a/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php b/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php index 0b023eea2..ba366e2f6 100644 --- a/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/CustomNotificationFormTest.php @@ -3,7 +3,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__. '/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/CustomNotificationForm.php'; diff --git a/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php b/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php index 6bc73f81b..3e8536b2f 100644 --- a/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/DelayNotificationFormTest.php @@ -3,7 +3,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__. '/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/DelayNotificationForm.php'; diff --git a/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php b/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php index 8b5c6bb3b..6403f8d8f 100644 --- a/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/RescheduleNextCheckFormTest.php @@ -6,7 +6,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__. '/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/WithChildrenCommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/RescheduleNextCheckForm.php'; diff --git a/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php b/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php index b541419d2..6e277a0d3 100644 --- a/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php +++ b/modules/monitoring/test/php/application/forms/Command/ScheduleDowntimeFormTest.php @@ -3,7 +3,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__. '/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/WithChildrenCommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/ScheduleDowntimeForm.php'; diff --git a/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php b/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php index ea504e5ee..0bf710936 100644 --- a/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php +++ b/modules/monitoring/test/php/application/forms/Command/SubmitPassiveCheckResultTest.php @@ -3,7 +3,7 @@ namespace Test\Monitoring\Forms\Command; require_once __DIR__. '/BaseFormTest.php'; -require_once __DIR__. '/../../../../../application/forms/Command/ConfirmationForm.php'; +require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/WithChildrenCommandForm.php'; require_once __DIR__. '/../../../../../application/forms/Command/SubmitPassiveCheckResultForm.php';