[icinga-checkins] icinga.org: icingaweb2-module-director/master: BaseTestCases: make ' em abstract to not be empty

git at icinga.org git at icinga.org
Wed Nov 30 09:24:53 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 2ce84baa705fc20f0061cd752ea2a088e132ae4c
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=2ce84baa705fc20f0061cd752ea2a088e132ae4c

Author: Thomas Gelf <thomas at gelf.net>
Date:   Wed Nov 30 09:23:36 2016 +0100

BaseTestCases: make 'em abstract to not be empty

---

 library/Director/Test/BaseTestCase.php         |    2 +-
 library/Director/Test/IcingaObjectTestCase.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/library/Director/Test/BaseTestCase.php b/library/Director/Test/BaseTestCase.php
index cd25075..3b32193 100644
--- a/library/Director/Test/BaseTestCase.php
+++ b/library/Director/Test/BaseTestCase.php
@@ -12,7 +12,7 @@ use Icinga\Module\Director\Db\Migrations;
 use Icinga\Module\Director\Objects\IcingaObject;
 use PHPUnit_Framework_TestCase;
 
-class BaseTestCase extends PHPUnit_Framework_TestCase
+abstract class BaseTestCase extends PHPUnit_Framework_TestCase
 {
     private static $app;
 
diff --git a/library/Director/Test/IcingaObjectTestCase.php b/library/Director/Test/IcingaObjectTestCase.php
index 3e307c5..a37fced 100644
--- a/library/Director/Test/IcingaObjectTestCase.php
+++ b/library/Director/Test/IcingaObjectTestCase.php
@@ -7,7 +7,7 @@ use Icinga\Module\Director\Objects\IcingaObject;
 /**
  * Icinga Object test helper class
  */
-class IcingaObjectTestCase extends BaseTestCase
+abstract class IcingaObjectTestCase extends BaseTestCase
 {
     protected $table;
     protected $testObjectName = '___TEST___';



More information about the icinga-checkins mailing list