mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Add initial unit tests for multisite's bootstrap.
props jeremyfelt. fixes #27884. git-svn-id: https://develop.svn.wordpress.org/trunk@28910 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -55,10 +55,6 @@ if ( $multisite ) {
|
||||
echo "Running as multisite..." . PHP_EOL;
|
||||
define( 'MULTISITE', true );
|
||||
define( 'SUBDOMAIN_INSTALL', false );
|
||||
define( 'DOMAIN_CURRENT_SITE', WP_TESTS_DOMAIN );
|
||||
define( 'PATH_CURRENT_SITE', '/' );
|
||||
define( 'SITE_ID_CURRENT_SITE', 1 );
|
||||
define( 'BLOG_ID_CURRENT_SITE', 1 );
|
||||
$GLOBALS['base'] = '/';
|
||||
} else {
|
||||
echo "Running as single site... To run multisite, use -c tests/phpunit/multisite.xml" . PHP_EOL;
|
||||
|
||||
Reference in New Issue
Block a user