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

WordPress Trac noreply at wordpress.org
Wed Oct 21 02:46:59 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:
------------------------------+-----------------------------

Comment (by joemcgill):

 Replying to [comment:5 wonderboymusic]:

 Was planning to circle back to this. I added the same basic helper method
 as `WP_UnitTest_Factory_For_Attachment:create_upload_object()` in
 [changeset:"34855"].

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


More information about the wp-trac mailing list