Merge branch 'master' of git@github.com:plainblack/webgui
This commit is contained in:
commit
37676cb654
8 changed files with 157 additions and 16 deletions
|
|
@ -34,7 +34,7 @@ my @testSets = (
|
|||
},
|
||||
);
|
||||
|
||||
my $numTests = scalar @testSets + 1;
|
||||
my $numTests = scalar @testSets + 2;
|
||||
|
||||
plan tests => $numTests;
|
||||
|
||||
|
|
@ -59,3 +59,8 @@ while ($time1 != $time2) {
|
|||
}
|
||||
|
||||
is($output, $session->datetime->epochToHuman($time1), 'checking default time and format');
|
||||
|
||||
##Checking for edge case, time=0
|
||||
is WebGUI::Macro::D_date::process($session, '', 0),
|
||||
'12/31/1969 6:00 pm',
|
||||
'...checking for handling time=0';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue