#56835 closed enhancement (fixed)
Increase test coverage to WP_Theme_JSON_Resolver
| Reported by: | cbravobernal | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.1 |
| Component: | Themes | Version: | 6.1 |
| Severity: | normal | Keywords: | has-patch has-unit-tests |
| Cc: | Focuses: |
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.
4 years ago
#1
- Keywords has-patch has-unit-tests added
@SergeyBiryukov commented on PR #3475:
4 years ago
#5
Thanks for the PR! Merged in r54630.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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)