From 41a741359df36c91854ad414de7ceccfed1d6eda Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 19 Oct 2015 16:47:07 +0530 Subject: [PATCH] minor fix --- tests/phpunit/api/v3/ContactTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/ContactTest.php b/tests/phpunit/api/v3/ContactTest.php index 64afedbe0c..94465a73d0 100644 --- a/tests/phpunit/api/v3/ContactTest.php +++ b/tests/phpunit/api/v3/ContactTest.php @@ -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']); } } -- 2.25.1