minor fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 19 Oct 2015 11:17:07 +0000 (16:47 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 19 Oct 2015 11:17:07 +0000 (16:47 +0530)
tests/phpunit/api/v3/ContactTest.php

index 64afedbe0c17816361c1dd17e2359c808d6e2de1..94465a73d05e2f5d551b776740f1211ca95e2996 100644 (file)
@@ -1633,7 +1633,8 @@ class api_v3_ContactTest extends CiviUnitTestCase {
         'id' => $contact['id'],
         $field => $value,
       );
-      $this->callAPISuccess('Contact', 'get', $getParams);
+      $result = $this->callAPISuccess('Contact', 'get', $getParams);
+      $this->assertEquals(1, $result['count']);
     }
   }