[wp-trac] [WordPress Trac] #55652: Test tool and unit test improvements for 6.1
WordPress Trac
noreply at wordpress.org
Sun Jul 31 16:25:42 UTC 2022
#55652: Test tool and unit test improvements for 6.1
--------------------------------------+---------------------
Reporter: hellofromTonya | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by SergeyBiryukov):
In [changeset:"53805" 53805]:
{{{
#!CommitTicketReference repository="" revision="53805"
Tests: Update the terminology used for action or filter names in
`MockAction` class.
This replaces the "tag" wording with "hook name" where appropriate, to
match the core function signatures.
Includes:
* Introducing a `::get_hook_names()` method instead of `::get_tags()`,
keeping the latter as an alias.
* Adding a `hook_name` key to the `::$events` property, keeping `tag` for
backward compatibility for now.
* Adding missing `@since` tags for class methods.
Follow-up to [24/tests], [62/tests], [70/tests], [50807], [53804].
See #55652.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:99>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list