Tests: Correct test class name for rss_enclosure() as per the naming conventions.

Includes:
* Moving `@covers` tags to the class-level DocBlock, since this is the only function tested in the class.
* Adjusting the assertion messages for clarity, as `rss_enclosure()` does not return anything directly.
* Using a static closure for improved performance.

Follow-up to [59241].

See #61530.
Built from https://develop.svn.wordpress.org/trunk@59243


git-svn-id: http://core.svn.wordpress.org/trunk@58635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2024-10-16 14:19:16 +00:00
parent 9668bc0839
commit 172d5084a4

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-beta3-59242';
$wp_version = '6.7-beta3-59243';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.