Skip to content

Commit

Permalink
Merge pull request #1103 from ladybirdweb/analysis-9mPxl9
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
Ashutosh pathak authored May 20, 2020
2 parents 0c4bbdc + 3c86fa6 commit 727842b
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 727842b

Please sign in to comment.