Merge pull request #4789 from totten/master-test-tx
[civicrm-core.git] / tests / phpunit / CRM / Contribute / BAO / ContributionTypeTest.php
index 00a00af9b8dcf4716ab74c3448da3f0b66ce4799..f1e09197a42d8b85c7af6341f05182d92189e9df 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';
+
+/**
+ * Class CRM_Contribute_BAO_ContributionTypeTest
+ */
 class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
-  function get_info() {
-    return array(
-      'name' => 'FinancialAccount BAOs',
-      'description' => 'Test all Contribute_BAO_Contribution methods.',
-      'group' => 'CiviCRM BAO Tests',
-    );
-  }
 
   function setUp() {
     parent::setUp();
     $this->organizationCreate();
   }
-  
+
   function teardown() {
     $this->financialAccountDelete('Donations');
   }
 
   /**
-   * check method add()
+   * Check method add()
    */
   function testAdd() {
     $params = array(
@@ -65,7 +62,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method retrive()
+   * Check method retrive()
    */
   function testRetrieve() {
     $params = array(
@@ -83,7 +80,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method setIsActive()
+   * Check method setIsActive()
    */
   function testSetIsActive() {
     $params = array(
@@ -104,7 +101,7 @@ class CRM_Contribute_BAO_ContributionTypeTest extends CiviUnitTestCase {
   }
 
   /**
-   * check method del()
+   * Check method del()
    */
   function testdel() {
     $params = array(