[wp-trac] [WordPress Trac] #30256: Create and exclude an area for ms-files.php specific unit tests

WordPress Trac noreply at wordpress.org
Sat Nov 8 21:07:07 UTC 2014


#30256: Create and exclude an area for ms-files.php specific unit tests
------------------------------+-------------------------
 Reporter:  jeremyfelt        |       Owner:  jeremyfelt
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:  multisite
------------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30286"]:
 {{{
 #!CommitTicketReference repository="" revision="30286"
 Move tests for ms_files_rewriting to separate group, ms-files

 When the `ms_files_rewriting` flag is enabled, `ms_upload_constants()` is
 required to properly set upload directory constants. Once this fires, it
 is impossible to clean up for a non `ms_files_rewriting` test by turning
 the option back off.

 Excluding these tests by default offer a more consistent environment
 overall. Any tests written for uploaded files in multisite should ideally
 have a correspondign test in this area.

 This commit also moves existing `ms_files_rewriting` tests for
 `test_switch_upload_dir()`.

 Fixes #30256
 }}}

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


More information about the wp-trac mailing list