[Wp-unit-tests] [WordPress Unit Tests] #33: Fix failed tests in WPTestAttachments

WordPress Unit Tests noreply at wordpress.org
Thu Apr 12 16:48:36 UTC 2012


#33: Fix failed tests in WPTestAttachments
-----------------------------+--------------------------------
  Reporter:  kurtpayne       |      Owner:
      Type:  defect          |     Status:  new
  Priority:  major           |  Milestone:  Fix existing Tests
 Component:  Test Framework  |    Version:
Resolution:                  |   Keywords:  attachments
-----------------------------+--------------------------------

Comment (by nacin):

 Looks good. I think it would make sense to wrap this into
 $this->_destroy_attachments() or $this->destroy/empty_uploads(), similar
 to [675].

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/33#comment:4>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list