Unit tests: Support subdirectory multisite installs
|Reported by:||r-a-y||Owned by:|
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 (15)
- Keywords has-patch removed