Coding standards cleanup sprint.
[civicrm-core.git] / tests / phpunit / api / v3 / TagTest.php
index 58fd439b835a1e3f1efb78d0498502f35425d798..4f72a7e80d5d499d9f6f335e12e0c63aab961d54 100644 (file)
@@ -34,7 +34,6 @@ require_once 'CiviTest/CiviUnitTestCase.php';
  * @package CiviCRM_APIv3
  * @subpackage API_Core
  */
-
 class api_v3_TagTest extends CiviUnitTestCase {
   protected $_apiversion = 3;
   /**
@@ -84,7 +83,7 @@ class api_v3_TagTest extends CiviUnitTestCase {
    */
   public function testGetReturnArray() {
     $description = "demonstrates use of Return as an array";
-    $subfile     = "getReturnArray";
+    $subfile = "getReturnArray";
 
     $params = array(
       'id' => $this->tagID,
@@ -184,8 +183,8 @@ class api_v3_TagTest extends CiviUnitTestCase {
 
   public function testTagGetfields() {
     $description = "demonstrate use of getfields to interrogate api";
-    $params      = array('action' => 'create');
-    $result      = $this->callAPIAndDocument('tag', 'getfields', $params, __FUNCTION__, __FILE__, $description, NULL, 'getfields');
+    $params = array('action' => 'create');
+    $result = $this->callAPIAndDocument('tag', 'getfields', $params, __FUNCTION__, __FILE__, $description, NULL, 'getfields');
     $this->assertEquals('civicrm_contact', $result['values']['used_for']['api.default']);
   }
 
@@ -193,7 +192,7 @@ class api_v3_TagTest extends CiviUnitTestCase {
     $description = "Demonstrates use of api.getlist for autocomplete and quicksearch applications";
     $params = array(
       'input' => $this->tag['name'],
-      'extra' => array('used_for')
+      'extra' => array('used_for'),
     );
     $result = $this->callAPIAndDocument('tag', 'getlist', $params, __FUNCTION__, __FILE__, $description);
     $this->assertEquals($this->tag['id'], $result['values'][0]['id'], 'In line ' . __LINE__);