[wp-trac] [WordPress Trac] #56793: Test tool and unit test improvements for 6.2

WordPress Trac noreply at wordpress.org
Mon Feb 13 19:35:28 UTC 2023


#56793: Test tool and unit test improvements for 6.2
--------------------------------------+---------------------
 Reporter:  desrosj                   |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.2
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"55322" 55322]:
 {{{
 #!CommitTicketReference repository="" revision="55322"
 Tests: Declare the `$post_id` property in
 `wp_comments_personal_data_exporter()` tests.

 Use the same approach in `wp_comments_personal_data_eraser()` for
 consistency and to minimize the number of fixtures created in each
 individual test.

 Follow-up to [55319], [55321].

 Props hellofromTonya.
 See #56793.
 }}}

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


More information about the wp-trac mailing list