From ed30b24910cecea3d9c7e152d96ff44a5ac3cd92 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 3 Aug 2017 15:15:28 -0700 Subject: [PATCH] CRM-20958 - api_v3_CaseTest::testCaseUpdate - Style tweak --- tests/phpunit/api/v3/CaseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/CaseTest.php b/tests/phpunit/api/v3/CaseTest.php index 0d429bd2bb..9330a6958e 100644 --- a/tests/phpunit/api/v3/CaseTest.php +++ b/tests/phpunit/api/v3/CaseTest.php @@ -196,7 +196,7 @@ class api_v3_CaseTest extends CiviCaseTestCase { // Verify that updated case is equal to the original with new subject. $result = $this->callAPISuccessGetSingle('Case', array('case_id' => $id)); // Modification dates are likely to differ by 0-2 sec. Check manually. - $this->assertTrue($result['modified_date'] >= $case['modified_date']); + $this->assertGreaterThanOrEqual($result['modified_date'], $case['modified_date']); unset($result['modified_date']); unset($case['modified_date']); // Everything else should be identical. -- 2.25.1