Merge pull request #4909 from pratikshad/broken-webtest
[civicrm-core.git] / tests / phpunit / api / v3 / UFMatchTest.php
index 2c0952caeef0f9af7a45b83a4844a45b58c59f3e..30432e32f9f385682e0e7f9d4dddda14c1a3065a 100644 (file)
@@ -26,8 +26,6 @@
 */
 
 
-
-
 require_once 'CiviTest/CiviUnitTestCase.php';
 
 /**
@@ -45,7 +43,6 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
   protected $_params = array();
 
 
-
   protected function setUp() {
     parent::setUp();
     $this->_apiversion = 3;
@@ -70,7 +67,7 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
       'uf_id' => '2',
       'uf_name' => 'blahdyblah@gmail.com',
       'domain_id' => 1,
-      );
+    );
   }
 
   public function tearDown() {
@@ -136,13 +133,13 @@ class api_v3_UFMatchTest extends CiviUnitTestCase {
   public function testDelete() {
     $result = $this->callAPISuccess('uf_match', 'create', $this->_params);
     $this->assertEquals(1, $this->callAPISuccess('uf_match', 'getcount', array(
-    'id' => $result['id'],
-      )));
+      'id' => $result['id'],
+    )));
     $this->callAPISuccess('uf_match', 'delete', array(
-    'id' => $result['id'],
+      'id' => $result['id'],
     ));
     $this->assertEquals(0, $this->callAPISuccess('uf_match', 'getcount', array(
-    'id' => $result['id'],
-      )));
+      'id' => $result['id'],
+    )));
   }
 }