Coding standards cleanup sprint.
[civicrm-core.git] / tests / phpunit / api / v3 / CRM11793Test.php
index c8a022ce148ad9d834d222c5e568822718be01bb..8af6e8076bc0e150e4007dea6678555de04ad98a 100644 (file)
@@ -9,7 +9,7 @@ require_once 'CiviTest/CiviUnitTestCase.php';
 /**
  *  Test APIv3 civicrm_activity_* functions
  *
- *  @package   CiviCRM
+ * @package   CiviCRM
  */
 class api_v3_CRM11793Test extends CiviUnitTestCase {
 
@@ -31,7 +31,7 @@ class api_v3_CRM11793Test extends CiviUnitTestCase {
     Contact::createOrganisation();
   }
 
-  function tearDown() {
+  public function tearDown() {
   }
 
   /**
@@ -40,26 +40,27 @@ class api_v3_CRM11793Test extends CiviUnitTestCase {
    *  Verify that attempt to create individual contact with only
    *  first and last names succeeds
    */
-  function testCRM11793Organization() {
+  public function testCRM11793Organization() {
     $this->_testCRM11793ContactType('Organization');
   }
 
-  function testCRM11793Household() {
+  public function testCRM11793Household() {
     $this->_testCRM11793ContactType('Household');
   }
-  function testCRM11793Individual() {
+
+  public function testCRM11793Individual() {
     $this->_testCRM11793ContactType('Individual');
   }
 
   /**
    * @param $contactType
    */
-  function _testCRM11793ContactType($contactType) {
+  public function _testCRM11793ContactType($contactType) {
     $result = $this->callAPISuccess(
       'contact',
       'get',
       array(
-        'contact_type' => $contactType
+        'contact_type' => $contactType,
       )
     );