X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FGlobalFunctions%2FwfTimestampTest.php;h=a70f136a1c177a05a9471bd38f936df417293d87;hb=ef7881189c56bd1401a91678a9e3fd5e08717dad;hp=b6682f7274912c16ceb0817e47de4ce83a518f1c;hpb=74c02a0d5019d3228eff05006565e857c8d56c75;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/GlobalFunctions/wfTimestampTest.php b/tests/phpunit/includes/GlobalFunctions/wfTimestampTest.php index b6682f7274..a70f136a1c 100644 --- a/tests/phpunit/includes/GlobalFunctions/wfTimestampTest.php +++ b/tests/phpunit/includes/GlobalFunctions/wfTimestampTest.php @@ -21,7 +21,7 @@ class WfTimestampTest extends MediaWikiTestCase { [ -30281104, TS_MW, '19690115123456', 'Negative TS_UNIX to TS_MW' ], [ $t, TS_UNIX, 979562096, 'TS_UNIX to TS_UNIX' ], [ $t, TS_DB, '2001-01-15 12:34:56', 'TS_UNIX to TS_DB' ], - [ $t + .01, TS_MW, '20010115123456', 'TS_UNIX float to TS_MW' ], + [ $t + 0.01, TS_MW, '20010115123456', 'TS_UNIX float to TS_MW' ], [ $t, TS_ISO_8601_BASIC, '20010115T123456Z', 'TS_ISO_8601_BASIC to TS_DB' ],