From 3708cdc7c2f29d184a70e87485a8f7d2aa8f9611 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Fri, 4 Jul 2014 01:38:43 +0000 Subject: [PATCH] Bring back `define( 'WP_INSTALLING', true );` in `phpunit/includes/install.php`, which was removed in [28965]. tl;dr = wp-cli. Unit tests still pass in multisite because of the skips I added. Fixes #28738, #28706. git-svn-id: https://develop.svn.wordpress.org/trunk@28988 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/install.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/includes/install.php b/tests/phpunit/includes/install.php index 7081302d68..82d53226a3 100644 --- a/tests/phpunit/includes/install.php +++ b/tests/phpunit/includes/install.php @@ -9,6 +9,7 @@ error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT ); $config_file_path = $argv[1]; $multisite = ! empty( $argv[2] ); +define( 'WP_INSTALLING', true ); require_once $config_file_path; require_once dirname( __FILE__ ) . '/functions.php';