Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh pathak authored and StyleCIBot committed May 20, 2020
1 parent 0c4bbdc commit 3c86fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/Common/HelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function test_getDateHtml_whenValidDateTimeStringIsPassedAsNull_shouldRet

$expectedDateTime = $now->clone()->setTimezone('Asia/Kolkata')->format('M j, Y, g:i a');
$expectedDate = $now->clone()->setTimezone('Asia/Kolkata')->format('M j, Y');
$this->assertEquals("<label data-toggle='tooltip' style='font-weight:500;' data-placement='top' title='$expectedDateTime'>$expectedDate</label>", getDateHtml($now->toDateTimeString()));
$this->assertEquals("<label data-toggle='tooltip' style='font-weight:500;' data-placement='top' title='$expectedDateTime'>$expectedDate</label>", getDateHtml($now->toDateTimeString()));
}

public function test_getDateHtml_whenAnInValidAndNonEmptyDateIsPassed_shouldGiveReturnEmptyDate()
Expand Down

0 comments on commit 3c86fa6

Please sign in to comment.