[wp-trac] [WordPress Trac] #59980: PHPunit tests for wp_timezone_override_offset

WordPress Trac noreply at wordpress.org
Wed Mar 5 13:13:31 UTC 2025


#59980: PHPunit tests for wp_timezone_override_offset
--------------------------------------+--------------------------
 Reporter:  pbearne                   |       Owner:  johnbillion
     Type:  task (blessed)            |      Status:  closed
 Priority:  normal                    |   Milestone:  6.8
Component:  Date/Time                 |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  tests
--------------------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"59936" 59936]:
 {{{
 #!CommitTicketReference repository="" revision="59936"
 Tests: Improve `wp_timezone_override_offset()` unit tests.

 Includes:
 * Using a data provider to reduce code repetition.
 * Correcting the `group` annotation.

 Follow-up to [59931].

 See #59980.
 }}}

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


More information about the wp-trac mailing list