wordpress-develop/tests/phpunit/tests/media
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
..
getAdjacentImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
getAttachmentTaxonomies.php Build/Test Tools: Replace assertInternalType() usage in unit tests. 2021-07-05 17:21:53 +00:00
getNextImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
getPostGalleries.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
getPreviousImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
nextImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
previousImageLink.php Media: Add decoding="async" to image attributes. 2022-06-09 05:29:57 +00:00
testcase-adjacent-image-link.php Media: Add new functions to return the previous/next attachment links. 2021-06-08 23:12:22 +00:00
wpImageTagAddDecodingAttr.php Media: Add tests for wp_img_tag_add_decoding_attr(). 2022-07-05 00:46:54 +00:00