Fix tests after renaming the namespace

refs #4586
This commit is contained in:
Eric Lippmann 2013-08-20 15:46:53 +02:00 committed by Jannis Moßhammer
parent c86874d4ba
commit 8a062ff3e5
9 changed files with 10 additions and 10 deletions

View File

@ -48,7 +48,7 @@ abstract class Query extends AbstractQuery
/**
* @var string
*/
private $viewClass = '\Monitoring\Backend\Statusdat\DataView\StatusdatServiceView';
private $viewClass = '\Icinga\Module\Monitoring\Backend\Statusdat\DataView\StatusdatServiceView';
private $baseQuery = null;
public function setBaseQuery(StatusdatQuery $query)
@ -58,7 +58,7 @@ abstract class Query extends AbstractQuery
public function setResultViewClass($viewClass)
{
$this->viewClass = '\Monitoring\Backend\Statusdat\DataView\\'.$viewClass;
$this->viewClass = '\Icinga\Module\Monitoring\Backend\Statusdat\DataView\\'.$viewClass;
}

View File

@ -18,7 +18,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
class AcknowledgeFormTest extends BaseFormTest
{
const FORMCLASS = 'Monitoring\Form\Command\AcknowledgeForm';
const FORMCLASS = '\Icinga\Module\Monitoring\Form\Command\AcknowledgeForm';
/**
* Set up the default time zone

View File

@ -13,7 +13,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
class CommentFormTest extends BaseFormTest
{
const FORMCLASS = 'Monitoring\Form\Command\CommentForm';
const FORMCLASS = '\Icinga\Module\Monitoring\Form\Command\CommentForm';
public function testCorrectCommentValidation()
{

View File

@ -15,7 +15,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
class CommandWithIdentifierFormTest extends BaseFormTest
{
const FORMCLASS = "Monitoring\Form\Command\CommandWithIdentifierForm";
const FORMCLASS = "\Icinga\Module\Monitoring\Form\Command\CommandWithIdentifierForm";
public function testForm()
{
$form = $this->getRequestForm(array(), self::FORMCLASS);

View File

@ -13,7 +13,7 @@ use \Icinga\Module\Monitoring\Form\Command\CustomNotificationForm; // Used by co
class CustomNotificationFormTest extends BaseFormTest
{
const FORM_CLASS = 'Monitoring\Form\Command\CustomNotificationForm';
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\CustomNotificationForm';
public function testFormInvalidWhenCommentMissing()
{

View File

@ -13,7 +13,7 @@ use \Icinga\Module\Monitoring\Form\Command\DelayNotificationForm; // Used by con
class DelayNotificationFormTest extends BaseFormTest
{
const FORM_CLASS = 'Monitoring\Form\Command\DelayNotificationForm';
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\DelayNotificationForm';
public function testFormInvalidWhenNotificationDelayMissing()
{

View File

@ -17,7 +17,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
class RescheduleNextCheckFormTest extends BaseFormTest
{
const FORM_CLASS = 'Monitoring\Form\Command\RescheduleNextCheckForm';
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\RescheduleNextCheckForm';
/**
* Set up the default time zone

View File

@ -17,7 +17,7 @@ use \Test\Icinga\Web\Form\BaseFormTest;
class ScheduleDowntimeFormTest extends BaseFormTest
{
const FORM_CLASS = 'Monitoring\Form\Command\ScheduleDowntimeForm';
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\ScheduleDowntimeForm';
/**
* Set up the default time zone

View File

@ -13,7 +13,7 @@ use \Icinga\Module\Monitoring\Form\Command\SubmitPassiveCheckResultForm; // Used
class SubmitPassiveCheckResultFormTest extends BaseFormTest
{
const FORM_CLASS = 'Monitoring\Form\Command\SubmitPassiveCheckResultForm';
const FORM_CLASS = '\Icinga\Module\Monitoring\Form\Command\SubmitPassiveCheckResultForm';
public function testStateTypes()
{