Wordpress/tests
Adam Silverstein 33755709e4 Date/Time: Add unit tests for the human_time_diff function.
Verify that `human_time_diff` works as expected for minute, hour and day intervals. Test that rounding works as expected when the time difference is near the rounding margin.

Props SGr33n.
Fixes #38773.


git-svn-id: https://develop.svn.wordpress.org/trunk@41018 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-07 17:07:40 +00:00
..
phpunit Date/Time: Add unit tests for the human_time_diff function. 2017-07-07 17:07:40 +00:00
qunit Ensure that wp-api.js test fixtures do not change with WP_TESTS_* constants. 2017-07-05 09:29:58 +00:00