Skip to content
Snippets Groups Projects
Unverified Commit 7a8b5691 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #17258 from demeritcowboy/fix-getfromto-workaround

[NFC/Test] - Fix typo in `if` statement that seems intended as a workaround
parents 0240b5dc f85ac980
Branches
Tags
No related merge requests found
......@@ -67,7 +67,7 @@ class CRM_Report_FormTest extends CiviUnitTestCase {
*/
public function testGetFromTo($expectedFrom, $expectedTo, $relative, $from, $to) {
$obj = new CRM_Report_Form();
if (date('H-i') === '00:00') {
if (date('Hi') === '0000') {
$this->markTestIncomplete('The date might have changed since the dataprovider was called. Skip to avoid flakiness');
}
list($calculatedFrom, $calculatedTo) = $obj->getFromTo($relative, $from, $to);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment