Make testBug26425BlockTimestampDefaultsToTime be tolerrant of up to 2 seconds
authorBrian Wolff <bawolff@users.mediawiki.org>
Thu, 18 Aug 2011 06:23:44 +0000 (06:23 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Thu, 18 Aug 2011 06:23:44 +0000 (06:23 +0000)
commit697487da5e2657fa3598ce9e60ee061b5545bd22
treef9983c4dce341af166c3dada688295ae43e9bd14
parentc0e419ce5e847fc5adc4a4e336a54f69d535ac93
Make testBug26425BlockTimestampDefaultsToTime be tolerrant of up to 2 seconds
difference.

Otherwise if the test happens to be run on a second barrier, it could
falsely fail (like it did just now when codur said some hurtful things
about my code failing unit-tests where it really didn't ;)

Some of the other block tests seem to itermitantly fail for no appearent
reason (null comes back instead of the block)... I don't know why.
tests/phpunit/includes/BlockTest.php