}
/**
- * check with empty array
+ * Check with empty array
*/
function testActivityCreateEmpty() {
$result = $this->callAPIFailure('activity', 'create', array());
}
/**
- * check if required fields are not passed
+ * Check if required fields are not passed
*/
function testActivityCreateWithoutRequired() {
$params = array(
}
/**
- * check with incorrect required fields
+ * Check with incorrect required fields
*/
function testActivityCreateWithUnknownActivityTypeId() {
$params = array(
}
/**
- * check activity deletion with empty params
+ * Check activity deletion with empty params
*/
function testDeleteActivityForEmptyParams() {
$params = array('version' => $this->_apiversion);
}
/**
- * check activity deletion without activity id
+ * Check activity deletion without activity id
*/
function testDeleteActivityWithoutId() {
$params = array(
}
/**
- * check activity deletion without activity type
+ * Check activity deletion without activity type
*/
function testDeleteActivityWithoutActivityType() {
$params = array('id' => 1);
}
/**
- * check activity deletion with incorrect data
+ * Check activity deletion with incorrect data
*/
function testDeleteActivityWithIncorrectActivityType() {
$params = array(
}
/**
- * check activity deletion with correct data
+ * Check activity deletion with correct data
*/
function testDeleteActivity() {
$result = $this->callAPISuccess('activity', 'create', $this->_params);
}
/**
- * check if required fields are not passed
+ * Check if required fields are not passed
*/
function testActivityUpdateWithoutRequired() {
$params = array(
}
/**
- * check with incorrect required fields
+ * Check with incorrect required fields
*/
function testActivityUpdateWithIncorrectContactActivityType() {
$params = array(
}
/**
- * check activity update with status
+ * Check activity update with status
*/
function testActivityUpdateWithStatus() {
$activity = $this->callAPISuccess('activity', 'create', $this->_params);