Skip to content
Snippets Groups Projects
Commit f85ac980 authored by DaveD's avatar DaveD
Browse files

fix typo in workaround

parent 0240b5dc
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