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

WordPress Trac noreply at wordpress.org
Fri Jun 24 14:41:27 UTC 2022

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

Comment (by SergeyBiryukov):

 In [changeset:"53572" 53572]:
 #!CommitTicketReference repository="" revision="53572"
 Tests: Give the tests for adding empty post meta values more consistent

 One of these was previously renamed to mention `update_metadata_by_mid()`.

 While `update_metadata_by_mid()` is indeed called in `wp_ajax_add_meta()`
 to update an existing meta value, the functionality change that the test
 intended to verify was in the latter function.

 Follow-up to [44153], [53561].

 See #55652.

Ticket URL: <https://core.trac.wordpress.org/ticket/55652#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list