Merge pull request #4789 from totten/master-test-tx
[civicrm-core.git] / tests / phpunit / CRM / Core / BAO / LocationTest.php
index 80050102712474cd027a3d5c84768e6a6190f263..441ff081eba4079fb2caa226eb9bd2d08e84831b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
 require_once 'CiviTest/CiviUnitTestCase.php';
 require_once 'CiviTest/Contact.php';
 require_once 'CiviTest/Event.php';
-class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
-  function get_info() {
-    return array(
-      'name' => 'Location BAOs',
-      'description' => 'Test all Core_BAO_Location methods.',
-      'group' => 'CiviCRM BAO Tests',
-    );
-  }
 
+/**
+ * Class CRM_Core_BAO_LocationTest
+ */
+class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   function setUp() {
     parent::setUp();
 
@@ -85,7 +81,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method
+   * Create() method
    * create various elements of location block
    * without civicrm_loc_block entry
    */
@@ -209,7 +205,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * create() method
+   * Create() method
    * create various elements of location block
    * with civicrm_loc_block
    */
@@ -356,7 +352,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * deleteLocBlock() method
+   * DeleteLocBlock() method
    * delete the location block
    * created with various elements.
    *
@@ -450,7 +446,7 @@ class CRM_Core_BAO_LocationTest extends CiviUnitTestCase {
   }
 
   /**
-   * getValues() method
+   * GetValues() method
    * get the values of various location elements
    */
   function testLocBlockgetValues() {