<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
-
-require_once 'CiviTest/CiviUnitTestCase.php';
-
+ */
/**
* Test class for GroupOrganization API - civicrm_group_organization_*
///////////////// civicrm_group_organization_create methods
/**
- * Check with valid params
+ * Check with valid params.
*/
public function testGroupOrganizationCreate() {
$params = array(
}
/**
- * Check with empty params array
+ * Check with empty params array.
*/
public function testGroupOrganizationCreateWithEmptyParams() {
$params = array();
}
/**
- * Check with invalid params
+ * Check with invalid params.
*/
public function testGroupOrganizationCreateParamsNotArray() {
$params = 'group_org';
}
/**
- * Check with invalid params keys
+ * Check with invalid params keys.
*/
public function testGroupOrganizationCreateWithInvalidKeys() {
$params = array(
///////////////// civicrm_group_organization_remove methods
/**
- * Test civicrm_group_organization_remove with params not an array.
+ * Test civicrm_group_organization_remove with params not an array.
*/
public function testGroupOrganizationDeleteParamsNotArray() {
$params = 'delete';
}
/**
- * Test civicrm_group_organization_remove with valid params.
+ * Test civicrm_group_organization_remove with valid params.
*/
public function testGroupOrganizationDelete() {
$paramsC = array(
}
/**
- * Test civicrm_group_organization_remove with invalid params key.
+ * Test civicrm_group_organization_remove with invalid params key.
*/
public function testGroupOrganizationDeleteWithInvalidKey() {
$paramsDelete = array(