Skip to content

Commit

Permalink
CRM-20958 - api_v3_CaseTest::testCaseUpdate - Style tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Aug 18, 2017
1 parent 41e9cb9 commit d0f064f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/api/v3/CaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,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.
Expand Down

0 comments on commit d0f064f

Please sign in to comment.