Unit tests: Support subdirectory multisite installs
|Reported by:||r-a-y||Owned by:|
|Component:||Networks and Sites||Keywords:||has-patch|
I have unit tests set up at:
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.
Change History (17)
- Keywords has-patch removed
comment:14 @nacin — 21 months ago
- Component changed from Unit Tests to Networks and Sites
- Focuses multisite added