From 36e590d44c1358aa06c4651a94c37726da80595d Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 19 Jan 2015 16:11:21 -0800 Subject: [PATCH] INFRA-132 - Batch 20 - Restore non-function comments --- tests/phpunit/CRM/Utils/HookTest.php | 8 ++++++-- tests/phpunit/api/v3/GroupContactTest.php | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/CRM/Utils/HookTest.php b/tests/phpunit/CRM/Utils/HookTest.php index 739549324d..ef1dd662f7 100644 --- a/tests/phpunit/CRM/Utils/HookTest.php +++ b/tests/phpunit/CRM/Utils/HookTest.php @@ -67,8 +67,10 @@ class CRM_Utils_HookTest extends CiviUnitTestCase { } } +/* --- Library of test hook implementations --- */ + /** - * Library of test hook implementations + * Implements hook_civicrm_testRunHooks_outer(). */ function hooktesta_civicrm_testRunHooks_outer() { $test = CRM_Utils_HookTest::$activeTest; @@ -101,8 +103,10 @@ function hooktesta_civicrm_testRunHooks_merge() { return array('from-module-a1', 'from-module-a2'); } +// OMIT: function hooktestb_civicrm_testRunHooks_merge + /** - * OMIT: function hooktestb_civicrm_testRunHooks_merge + * Implements hook_civicrm_testRunHooks_merge(). */ function hooktestc_civicrm_testRunHooks_merge() { return array(); diff --git a/tests/phpunit/api/v3/GroupContactTest.php b/tests/phpunit/api/v3/GroupContactTest.php index 9e098b5b76..304015f41a 100644 --- a/tests/phpunit/api/v3/GroupContactTest.php +++ b/tests/phpunit/api/v3/GroupContactTest.php @@ -82,8 +82,10 @@ class api_v3_GroupContactTest extends CiviUnitTestCase { ); } + ///////////////// civicrm_group_contact_get methods + /** - * civicrm_group_contact_get methods + * Test GroupContact.get by ID. */ public function testGet() { $params = array( @@ -162,8 +164,10 @@ class api_v3_GroupContactTest extends CiviUnitTestCase { $this->assertEquals($result['total_count'], 2, "in line " . __LINE__); } + ///////////////// civicrm_group_contact_remove methods + /** - * civicrm_group_contact_remove methods + * Test GroupContact.delete by contact+group ID. */ public function testDelete() { $params = array( -- 2.25.1