wordpress-develop/tests/phpunit/tests/date
Aaron Jorbin 702e2c76a6 Tests: Reduce usage of assertEquals
Replaces assertSame with assertCount in a number of tests.

Props ayeshrajans, jorbin.
See #58956.


git-svn-id: https://develop.svn.wordpress.org/trunk@56746 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-29 15:22:12 +00:00
..
currentDatetime.php Date/Time: Add a unit test for the return type of current_datetime(). 2022-01-21 05:58:13 +00:00
currentTime.php Tests: Add tests with deprecated timezone strings. 2022-09-19 23:51:20 +00:00
dateI18n.php General: Increase the minimum supported version of PHP to 7.0.0. 2023-07-05 17:39:55 +00:00
getCommentDate.php Tests: Rename some classes in phpunit/tests/date/ per the naming conventions. 2021-02-11 21:20:41 +00:00
getFeedBuildDate.php Tests: Replace the timezone used in date/time tests. 2022-09-19 21:18:59 +00:00
getPermalink.php Tests: Reset timezone-related options if the tests change them. 2022-09-19 17:43:55 +00:00
getPostTime.php Tests: Replace the timezone used in date/time tests. 2022-09-19 21:18:59 +00:00
getTheDate.php Tests: Rename some classes in phpunit/tests/date/ per the naming conventions. 2021-02-11 21:20:41 +00:00
getTheModifiedDate.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
maybeDeclineDate.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
mysql2date.php Tests: Add tests with deprecated timezone strings. 2022-09-19 23:51:20 +00:00
query.php Tests: Reduce usage of assertEquals 2023-09-29 15:22:12 +00:00
theDate.php Coding Standards: Use pre-increment/decrement for stand-alone statements. 2023-09-09 09:26:01 +00:00
wpDate.php Date/Time: Increase test coverage of wp_date(). 2022-08-01 22:48:42 +00:00
wpTimezone.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
xmlrpc.php Code Modernization: Fix null to non-nullable deprecations in wp_xmlrpc_server::_insert_post(). 2022-09-27 02:16:28 +00:00