[wp-trac] [WordPress Trac] #34075: Consolidate methods for creating image attachments in tests

WordPress Trac noreply at wordpress.org
Wed Oct 21 01:58:54 UTC 2015


#34075: Consolidate methods for creating image attachments in tests
------------------------------+-----------------------------
 Reporter:  joemcgill         |       Owner:  wonderboymusic
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35309"]:
 {{{
 #!CommitTicketReference repository="" revision="35309"
 Unit Tests: consolidate the many separate implementations of
 `_make_attachment()` into a helper method on `WP_UnitTestCase`.

 Fixes #34075.
 }}}

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


More information about the wp-trac mailing list