[wp-trac] [WordPress Trac] #56835: Increase test coverage to WP_Theme_JSON_Resolver

WordPress Trac noreply at wordpress.org
Tue Oct 18 13:19:54 UTC 2022


#56835: Increase test coverage to WP_Theme_JSON_Resolver
--------------------------------------+-----------------------------
 Reporter:  cbravobernal              |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.1
Component:  Themes                    |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54630" 54630]:
 {{{
 #!CommitTicketReference repository="" revision="54630"
 Tests: Increase test coverage for `WP_Theme_JSON_Resolver`.

 This commit adds a unit test to check that
 `WP_Theme_JSON_Resolver::get_theme_data()` returns a `WP_Theme_JSON`
 object, and that an `add_theme_support()` call overrides the settings from
 `theme.json`.

 Follow-up to [54443], [54493].

 Props cbravobernal.
 Fixes #56835.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56835#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list