From e477bd1a315b6eb065c50f556f49ac1915377898 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 22 Dec 2014 14:30:00 -0800 Subject: [PATCH] tests/ - Remove pointless __construct() functions --- tests/phpunit/api/v3/BatchTest.php | 9 --------- tests/phpunit/api/v3/CRM11793Test.php | 8 -------- tests/phpunit/api/v3/ConstantTest.php | 9 --------- tests/phpunit/api/v3/ContactTest.php | 9 --------- tests/phpunit/api/v3/DomainTest.php | 9 --------- tests/phpunit/api/v3/NoteTest.php | 8 -------- tests/phpunit/api/v3/SettingTest.php | 8 -------- tests/phpunit/api/v3/SystemTest.php | 9 --------- 8 files changed, 69 deletions(-) diff --git a/tests/phpunit/api/v3/BatchTest.php b/tests/phpunit/api/v3/BatchTest.php index ccda7e4e59..22f462ad70 100644 --- a/tests/phpunit/api/v3/BatchTest.php +++ b/tests/phpunit/api/v3/BatchTest.php @@ -37,15 +37,6 @@ class api_v3_BatchTest extends CiviUnitTestCase { protected $_params = array(); protected $_entity = 'batch'; - /** - * Constructor - * - * Initialize configuration - */ - function __construct() { - parent::__construct(); - } - /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. diff --git a/tests/phpunit/api/v3/CRM11793Test.php b/tests/phpunit/api/v3/CRM11793Test.php index fa997b2711..c8a022ce14 100644 --- a/tests/phpunit/api/v3/CRM11793Test.php +++ b/tests/phpunit/api/v3/CRM11793Test.php @@ -12,14 +12,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; * @package CiviCRM */ class api_v3_CRM11793Test extends CiviUnitTestCase { - /** - * Constructor - * - * Initialize configuration - */ - function __construct() { - parent::__construct(); - } /** * Test setup for every test diff --git a/tests/phpunit/api/v3/ConstantTest.php b/tests/phpunit/api/v3/ConstantTest.php index 4ec1da8e70..07b23983ee 100644 --- a/tests/phpunit/api/v3/ConstantTest.php +++ b/tests/phpunit/api/v3/ConstantTest.php @@ -43,15 +43,6 @@ require_once 'CiviTest/CiviUnitTestCase.php'; class api_v3_ConstantTest extends CiviUnitTestCase { protected $_apiversion = 3; - - /** - * Constructor - * - * Initialize configuration - */ function __construct() { - parent::__construct(); - } - /** * Test setup for every test * diff --git a/tests/phpunit/api/v3/ContactTest.php b/tests/phpunit/api/v3/ContactTest.php index d051c59aac..1b6758dd55 100644 --- a/tests/phpunit/api/v3/ContactTest.php +++ b/tests/phpunit/api/v3/ContactTest.php @@ -50,15 +50,6 @@ class api_v3_ContactTest extends CiviUnitTestCase { protected $_contactID; protected $_financialTypeId =1; - /** - * Constructor - * - * Initialize configuration - */ - function __construct() { - parent::__construct(); - } - /** * Test setup for every test * diff --git a/tests/phpunit/api/v3/DomainTest.php b/tests/phpunit/api/v3/DomainTest.php index e7eed9e3ab..4eb428a310 100644 --- a/tests/phpunit/api/v3/DomainTest.php +++ b/tests/phpunit/api/v3/DomainTest.php @@ -45,15 +45,6 @@ class api_v3_DomainTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $params; - - /** - * Constructor - * - * Initialize configuration - */ function __construct() { - parent::__construct(); - } - /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. diff --git a/tests/phpunit/api/v3/NoteTest.php b/tests/phpunit/api/v3/NoteTest.php index 65ccfad0b7..4310d0626f 100644 --- a/tests/phpunit/api/v3/NoteTest.php +++ b/tests/phpunit/api/v3/NoteTest.php @@ -39,14 +39,6 @@ class api_v3_NoteTest extends CiviUnitTestCase { protected $_noteID; protected $_note; - - /** - * - */ - function __construct() { - parent::__construct(); - } - function setUp() { $this->_apiversion = 3; diff --git a/tests/phpunit/api/v3/SettingTest.php b/tests/phpunit/api/v3/SettingTest.php index b395cbbe56..2f5ca191e4 100644 --- a/tests/phpunit/api/v3/SettingTest.php +++ b/tests/phpunit/api/v3/SettingTest.php @@ -48,14 +48,6 @@ class api_v3_SettingTest extends CiviUnitTestCase { protected $_domainID2; protected $_domainID3; - /** - * - */ - function __construct() { - parent::__construct(); - - } - function setUp() { parent::setUp(); $params = array( diff --git a/tests/phpunit/api/v3/SystemTest.php b/tests/phpunit/api/v3/SystemTest.php index 4ebef06637..874dcfd555 100644 --- a/tests/phpunit/api/v3/SystemTest.php +++ b/tests/phpunit/api/v3/SystemTest.php @@ -37,15 +37,6 @@ class api_v3_SystemTest extends CiviUnitTestCase { const TEST_CACHE_GROUP = 'SystemTest'; const TEST_CACHE_PATH = 'api/v3/system'; - /** - * Constructor - * - * Initialize configuration - */ - function __construct() { - parent::__construct(); - } - /** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. -- 2.25.1