From a18077f3cb403b9e658bc1d1d78f3e7612a05991 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 818583783746..38a359fa3961 100644 --- a/tests/phpunit/api/v3/CaseTest.php +++ b/tests/phpunit/api/v3/CaseTest.php @@ -166,7 +166,7 @@ public function testCaseUpdate() { // 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.