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

WordPress Trac noreply at wordpress.org
Wed Apr 24 05:57:50 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        |   Keywords:  has-patch
--------------------------+-----------------------------
 I have unit tests set up at:
 localhost/wordpress-tests/

 And have set:
 `define( 'WP_TESTS_MULTISITE', true );`

 However, currently, unit testing doesn't support subdirectory multisite
 installs.  It fails when installing multisite.

 Attached patch addresses this and introduces a new constant called
 `'WP_TESTS_PATH'`.

 If this is set in `wp-tests-config.php`, this will make sure that PHPUnit
 can install WP for subdirectory multisite installs.

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


More information about the wp-trac mailing list