[wp-trac] [WordPress Trac] #56835: Increase test coverage to WP_Theme_JSON_Resolver
WordPress Trac
noreply at wordpress.org
Sun Oct 16 15:54:02 UTC 2022
#56835: Increase test coverage to WP_Theme_JSON_Resolver
--------------------------------------+---------------------
Reporter: cbravobernal | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.1
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review => 6.1
Old description:
> Adding a test to cover WP_Theme_JSON_Resolver->get_theme_data()
>
> We only test the add_theme_support overriding feature and that the
> functions return a WP_Theme_JSON object, as the part of the code that
> merges the child theme into the parent theme has been already tested in
> test_merges_child_theme_json_into_parent_theme_json on tickets 56611,
> 54336
New description:
Adding a test to cover WP_Theme_JSON_Resolver->get_theme_data()
We only test the add_theme_support overriding feature and that the
functions return a WP_Theme_JSON object, as the part of the code that
merges the child theme into the parent theme has been already tested in
test_merges_child_theme_json_into_parent_theme_json on tickets #56611,
#54336.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56835#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list