*/
public function testCaseCreate() {
$params = $this->_params;
- // Test using label instead of value.
+ // Test using name instead of value.
unset($params['case_type_id']);
$params['case_type'] = $this->caseType;
$result = $this->callAPIAndDocument('case', 'create', $params, __FUNCTION__, __FILE__);
*/
public function testCaseCreateWithResolvedStatus() {
$params = $this->_params;
- // Test using label instead of value.
+ // Test using name instead of value.
unset($params['case_type_id']);
$params['case_type'] = $this->caseType;
$params['status_id'] = 'Closed';
'sequential' => 1,
'case_id' => $id,
]);
- foreach ($relationships['values'] as $key => $values) {
+ foreach ($relationships['values'] as $values) {
$this->assertEquals($values['end_date'], date('Y-m-d'));
}