(dev/core#647) Fix up Test Class names and file names to ensure all test classes...
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 7 Jan 2019 23:55:29 +0000 (10:55 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 8 Jan 2019 01:16:20 +0000 (12:16 +1100)
tests/phpunit/CRM/Contribute/Form/TaskTest.php
tests/phpunit/CRM/Custom/Page/AJAXTest.php [moved from tests/phpunit/CRM/Custom/Page/AjaxTest.php with 100% similarity]
tests/phpunit/CRM/Event/Form/Registration/RegistrationTest.php [moved from tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php with 97% similarity]
tests/phpunit/CRM/Import/DataSource/CsvTest.php
tests/phpunit/api/v3/UserTest.php

index ed5f6851b2b4c37706fc68931d9fd6fe26931fff..ffecaada62cdc76883444978dbadf18785d6eb46 100644 (file)
@@ -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.
    */
similarity index 97%
rename from tests/phpunit/CRM/Event/Form/Registration/RegisterTest.php
rename to tests/phpunit/CRM/Event/Form/Registration/RegistrationTest.php
index 531b233334350cd847f252e5f736675ddee5f650..757119cbefca8354f31c6c89b62bad388121e427 100644 (file)
@@ -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();
index ee7b394b0ae04eecf54c0780d0abe2645d971a14..2f93b6da9b064961d18b7317f46fec3a4b42ca27 100644 (file)
@@ -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.
index adae2b439ec0cfe88beb6773dd1569dabdc17076..b8caa31fc933d3b87f8ad296c5375c27aafa9192 100644 (file)
  */
 
 /**
- *  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';