wordpress-develop/tests/phpunit/tests/date
Sergey Biryukov ff56396bf3 Tests: Use the factory method instead of the property.
This replaces all references to the `WP_UnitTestCase_Base::$factory` property with static function calls to the `WP_UnitTestCase_Base::factory()` method.

This is a consistency improvement for the test suite.

Follow up to [35225], [35242], [49603], [54087], [54088].

Props jrf.
See #55652.

git-svn-id: https://develop.svn.wordpress.org/trunk@54090 602fd350-edb4-49c9-b593-d223f7449a82
2022-09-06 22:09:49 +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 Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
dateI18n.php Tests: Rename some classes in phpunit/tests/date/ per the naming conventions. 2021-02-11 21:20:41 +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: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
getPermalink.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
getPostTime.php Tests: Rename some classes in phpunit/tests/date/ per the naming conventions. 2021-02-11 21:20:41 +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 Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
query.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
theDate.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
wpDate.php Date/Time: Increase test coverage of wp_date(). 2022-08-01 22:48:42 +00:00
wpTimezone.php Tests: Rename some classes in phpunit/tests/date/ per the naming conventions. 2021-02-11 21:20:41 +00:00
xmlrpc.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00