[wp-trac] [WordPress Trac] #24173: Unit tests: Support subdirectory multisite installs

WordPress Trac noreply at wordpress.org
Tue Jun 25 18:56:00 UTC 2013


#24173: Unit tests: Support subdirectory multisite installs
--------------------------+------------------------------
 Reporter:  r-a-y         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Unit Tests    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by scribu):

 > I can probably remove the WP_SITEURL constant and define it myself in my
 own wp-tests-config.php.

 Yeah, that's probably better. Note that you have `wordpress/` hardcoded in
 a bunch more places in the patch. For example:

 {{{
 $this->assertEquals( 'http://' . $site->domain . $site->path . 'wordpress
 /wp-content/uploads/' . gmstrftime('
 }}}

 Otherwise, it looks good.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24173#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list