From c71299c7642359a8c967f2a9f242b19f3730e8a9 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 8 Jan 2019 10:55:29 +1100 Subject: [PATCH] (dev/core#647) Fix up Test Class names and file names to ensure all test classes are run by Jenkins --- tests/phpunit/CRM/Contact/SelectorTest.php | 2 +- tests/phpunit/CRM/Contribute/Form/TaskTest.php | 2 +- tests/phpunit/CRM/Custom/Page/{AjaxTest.php => AJAXTest.php} | 0 tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php | 2 +- tests/phpunit/CRM/Import/DataSource/CsvTest.php | 2 +- tests/phpunit/api/v3/UserTest.php | 4 ++-- 6 files changed, 6 insertions(+), 6 deletions(-) rename tests/phpunit/CRM/Custom/Page/{AjaxTest.php => AJAXTest.php} (100%) diff --git a/tests/phpunit/CRM/Contact/SelectorTest.php b/tests/phpunit/CRM/Contact/SelectorTest.php index ebee22500c67..f1a59e66eda5 100644 --- a/tests/phpunit/CRM/Contact/SelectorTest.php +++ b/tests/phpunit/CRM/Contact/SelectorTest.php @@ -35,7 +35,7 @@ * @package CiviCRM * @group headless */ -class CRM_Contact_Form_SelectorTest extends CiviUnitTestCase { +class CRM_Contact_SelectorTest extends CiviUnitTestCase { public function tearDown() { diff --git a/tests/phpunit/CRM/Contribute/Form/TaskTest.php b/tests/phpunit/CRM/Contribute/Form/TaskTest.php index ed5f6851b2b4..ffecaada62cd 100644 --- a/tests/phpunit/CRM/Contribute/Form/TaskTest.php +++ b/tests/phpunit/CRM/Contribute/Form/TaskTest.php @@ -28,7 +28,7 @@ /** * Class CRM_Contribute_Form_Tasktest */ -class CRM_Contribute_Form_Tasktest extends CiviUnitTestCase { +class CRM_Contribute_Form_TaskTest extends CiviUnitTestCase { /** * Assume empty database with just civicrm_data. */ diff --git a/tests/phpunit/CRM/Custom/Page/AjaxTest.php b/tests/phpunit/CRM/Custom/Page/AJAXTest.php similarity index 100% rename from tests/phpunit/CRM/Custom/Page/AjaxTest.php rename to tests/phpunit/CRM/Custom/Page/AJAXTest.php diff --git a/tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php b/tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php index 531b23333435..757119cbefca 100644 --- a/tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php +++ b/tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php @@ -29,7 +29,7 @@ * Class CRM_Event_Form_RegistrationTest * @group headless */ -class CRM_Event_Form_RegistrationTest extends CiviUnitTestCase { +class CRM_Event_Form_Registration_RegistrationTest extends CiviUnitTestCase { public function setUp() { parent::setUp(); diff --git a/tests/phpunit/CRM/Import/DataSource/CsvTest.php b/tests/phpunit/CRM/Import/DataSource/CsvTest.php index ee7b394b0ae0..2f93b6da9b06 100644 --- a/tests/phpunit/CRM/Import/DataSource/CsvTest.php +++ b/tests/phpunit/CRM/Import/DataSource/CsvTest.php @@ -28,7 +28,7 @@ /** * Tests for the CRM_Import_Datasource_Csv class. */ -class CRM_Import_Datasource_CsvTest extends CiviUnitTestCase { +class CRM_Import_DataSource_CsvTest extends CiviUnitTestCase { /** * Test the to csv function. diff --git a/tests/phpunit/api/v3/UserTest.php b/tests/phpunit/api/v3/UserTest.php index adae2b439ec0..b8caa31fc933 100644 --- a/tests/phpunit/api/v3/UserTest.php +++ b/tests/phpunit/api/v3/UserTest.php @@ -26,13 +26,13 @@ */ /** - * Test APIv3 civicrm_website_* functions + * Test APIv3 civicrm_user_* functions * * @package CiviCRM_APIv3 * @subpackage API_Contact * @group headless */ -class api_v3_UserWebsiteTest extends CiviUnitTestCase { +class api_v3_UserTest extends CiviUnitTestCase { protected $_apiversion = 3; protected $params; protected $_entity = 'User';