From 89ed2c4217813872dbd8af6591d536d48b731a50 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Wed, 20 Aug 2014 17:13:04 +0000 Subject: [PATCH] Ensure that `$wpdb` is imported in `Tests_MS::_setup_host_request`. Props tellyworth. Fixes #27884. git-svn-id: https://develop.svn.wordpress.org/trunk@29552 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/ms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/ms.php b/tests/phpunit/tests/ms.php index 185133d1e6..b2ad547243 100644 --- a/tests/phpunit/tests/ms.php +++ b/tests/phpunit/tests/ms.php @@ -1510,7 +1510,7 @@ class Tests_MS extends WP_UnitTestCase { * @param string $path REQUEST_URI of the boot strap request. */ function _setup_host_request( $domain, $path ) { - global $current_site, $current_blog, $table_prefix; + global $current_site, $current_blog, $table_prefix, $wpdb; $table_prefix = WP_TESTS_TABLE_PREFIX; $current_site = $current_blog = null;