From 1ef28a651edd40a3fad724190155acd5ebe93037 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Tue, 23 Feb 2021 23:24:30 -0500 Subject: [PATCH] minor cleanup --- tests/phpunit/api/v3/CaseTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/api/v3/CaseTest.php b/tests/phpunit/api/v3/CaseTest.php index a362e8592928..9b5bb920d2eb 100644 --- a/tests/phpunit/api/v3/CaseTest.php +++ b/tests/phpunit/api/v3/CaseTest.php @@ -141,7 +141,7 @@ public function testCaseGetListById() { */ 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__); @@ -159,7 +159,7 @@ public function testCaseCreate() { */ 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'; @@ -178,7 +178,7 @@ public function testCaseCreateWithResolvedStatus() { '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')); }