#56835 closed enhancement (fixed)
Increase test coverage to WP_Theme_JSON_Resolver
Reported by: | cbravobernal | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | 6.1 |
Component: | Themes | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description (last modified by )
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.
Change History (6)
This ticket was mentioned in PR #3475 on WordPress/wordpress-develop by @cbravobernal.
2 years ago
#1
- Keywords has-patch has-unit-tests added
#4
@
2 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 54630:
@SergeyBiryukov commented on PR #3475:
2 years ago
#5
Thanks for the PR! Merged in r54630.
Note: See
TracTickets for help on using
tickets.
As requested in https://github.com/WordPress/wordpress-develop/pull/3418#issuecomment-1274539686, we are increasing the coverage.
Trac ticket: [](https://core.trac.wordpress.org/ticket/56835#ticket)