Coding standards cleanup sprint.
[civicrm-core.git] / tests / phpunit / api / v3 / AddressTest.php
index 8f4f80060a40d06947d365cb1131226d79bcabb4..a890a70ed9567f630953fb9264447eed7ab171f2 100644 (file)
@@ -128,9 +128,9 @@ class api_v3_AddressTest extends CiviUnitTestCase {
     );
     $this->callAPISuccess('address', 'create', array_merge($this->_params, $individualParams));
     $this->callAPISuccess('relationship', 'getcount', array(
-        'contact_id_a' => $individualID,
-        'contact_id_b' => $this->_contactID,
-      ));
+      'contact_id_a' => $individualID,
+      'contact_id_b' => $this->_contactID,
+    ));
   }
 
   /**
@@ -145,9 +145,9 @@ class api_v3_AddressTest extends CiviUnitTestCase {
     );
     $this->callAPISuccess('address', 'create', array_merge($this->_params, $individualParams));
     $this->callAPISuccess('relationship', 'getcount', array(
-        'contact_id_a' => $individualID,
-        'contact_id_b' => $this->_contactID,
-      ));
+      'contact_id_a' => $individualID,
+      'contact_id_b' => $this->_contactID,
+    ));
   }
 
   /**
@@ -170,10 +170,10 @@ class api_v3_AddressTest extends CiviUnitTestCase {
     $this->markTestIncomplete('Remainder of test checks that employer relationship is disabled when new one is created but turns out to be not happening - by design?');
     $this->callAPISuccessGetCount('relationship', array('contact_id_a' => $individualID, 'is_active' => FALSE), 1);
     $this->callAPISuccessGetCount('relationship', array(
-        'contact_id_a' => $individualID,
-        'is_active' => TRUE,
-        'contact_id_b' => $organisation2ID,
-      ), 1);
+      'contact_id_a' => $individualID,
+      'is_active' => TRUE,
+      'contact_id_b' => $organisation2ID,
+    ), 1);
 
   }
 
@@ -299,7 +299,6 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   *
    */
   public function testGetWithCustom() {
     $ids = $this->entityCustomGroupWithSingleFieldCreate(__FUNCTION__, __FILE__);
@@ -320,7 +319,6 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   *
    */
   public function testCreateAddressPrimaryHandlingChangeToPrimary() {
     $params = $this->_params;
@@ -337,7 +335,6 @@ class api_v3_AddressTest extends CiviUnitTestCase {
   }
 
   /**
-   *
    */
   public function testCreateAddressPrimaryHandlingChangeExisting() {
     $address1 = $this->callAPISuccess('address', 'create', $this->_params);