wordpress-develop/tests/phpunit/tests/media
Sergey Biryukov ea651b1fc1 Tests: Add unit tests for attachment’s file size being included in metadata.
These tests ensure that `wp_generate_attachment_metadata()` stores the file size of all newly uploaded attachments under the `filesize` array key. The tests were initially supposed to be committed with [52837].

Follow-up to [52837], [52932], [54861].

Props spacedmonkey, johnwatkins0, mitogh, adamsilverstein, pbearne, SergeyBiryukov.
Fixes #57171.

git-svn-id: https://develop.svn.wordpress.org/trunk@54863 602fd350-edb4-49c9-b593-d223f7449a82
2022-11-22 19:43:25 +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
wpGenerateAttachmentMetadata.php Tests: Add unit tests for attachment’s file size being included in metadata. 2022-11-22 19:43:25 +00:00
wpImageTagAddDecodingAttr.php Tests: Add unit tests for attachment’s file size being included in metadata. 2022-11-22 19:43:25 +00:00