From: monishdeb Date: Sat, 15 Aug 2015 21:11:59 +0000 (+0530) Subject: formatting fixes 1 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=160a4c98c94194999eeca513d35348588877bee2;p=civicrm-core.git formatting fixes 1 --- diff --git a/tests/phpunit/api/v3/CustomValueTest.php b/tests/phpunit/api/v3/CustomValueTest.php index 72b6093419..1b8e2a8206 100644 --- a/tests/phpunit/api/v3/CustomValueTest.php +++ b/tests/phpunit/api/v3/CustomValueTest.php @@ -237,7 +237,7 @@ class api_v3_CustomValueTest extends CiviUnitTestCase { break; case 'LIKE': - $result = $this->callAPIAndDocument('Contact', 'Get', array('custom_' . $customId => array($op => (is_array($selectedValue) ? "%" . $selectedValue[0] . "%" : $selectedValue),),), __FUNCTION__, __FILE__, $description); + $result = $this->callAPIAndDocument('Contact', 'Get', array('custom_' . $customId => array($op => (is_array($selectedValue) ? "%" . $selectedValue[0] . "%" : $selectedValue))), __FUNCTION__, __FILE__, $description); $this->assertEquals($contactId, $result['id']); break; @@ -247,12 +247,12 @@ class api_v3_CustomValueTest extends CiviUnitTestCase { break; case 'IS NULL': - $result = $this->callAPIAndDocument('Contact', 'Get', array('custom_' . $customId => array($op => 1)), __FUNCTION__, __FILE__, $description); + $result = $this->callAPIAndDocument('Contact', 'Get', array('custom_' . $customId => array($op => 1)), __FUNCTION__, __FILE__, $description); $this->assertEquals(FALSE, array_key_exists($contactId, $result['values'])); break; case 'IS NOT NULL': - $result = $this->callAPIAndDocument('Contact', 'Get', array('custom_' . $customId => array($op => 1)),__FUNCTION__, __FILE__, $description); + $result = $this->callAPIAndDocument('Contact', 'Get', array('custom_' . $customId => array($op => 1)), __FUNCTION__, __FILE__, $description); $this->assertEquals($contactId, $result['id']); break;