Skip to content

Commit acdff30

Browse files
author
e1himself
committed
Revert back a few minor changes that are not necessary for fixing tests
1 parent 5f3aa4d commit acdff30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/unit/widget/sfWidgetFormDateTimeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
foreach (array(
2626
$year.'-10-15 12:30:35' => array('year' => $year, 'month' => 10, 'day' => 15, 'hour' => 12, 'minute' => 30, 'second' => 35),
27-
time() => array('year' => date('Y'), 'month' => date('m'), 'day' => date('d'), 'hour' => date('H'), 'minute' => date('i'), 'second' => date('s')),
27+
time() => array('year' => date('Y'), 'month' => date('m'), 'day' => date('d'), 'hour' => date('G'), 'minute' => date('i'), 'second' => date('s')),
2828
'tomorrow 12:30:35' => array('year' => date('Y', time() + 86400), 'month' => date('m', time() + 86400), 'day' => date('d', time() + 86400), 'hour' => 12, 'minute' => 30, 'second' => 35),
2929
) as $date => $values)
3030
{

test/unit/yaml/sfYamlInlineTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
sfYaml::setSpecVersion('1.1');
1414

15-
$t = new lime_test(123);
15+
$t = new lime_test(124);
1616

1717
// ::load()
1818
$t->diag('::load()');
@@ -85,7 +85,7 @@
8585
'true' => true,
8686
'12' => 12,
8787
"'quoted string'" => 'quoted string',
88-
// '12.30e+02' => 12.30e+02,
88+
'12.30e+02' => 12.30e+02,
8989
'1234' => 0x4D2,
9090
'1243' => 02333,
9191
'.Inf' => -log(0),

0 commit comments

Comments
 (0)