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

WordPress Trac noreply at wordpress.org
Tue Sep 29 12:56:05 UTC 2015


#34075: Consolidate methods for creating image attachments in tests
------------------------------+------------------
 Reporter:  joemcgill         |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------

Comment (by boonebgorges):

 Or we could just have a globally-available tool - either a method on
 `WP_UnitTestCase`, or a utils function.

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


More information about the wp-trac mailing list