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
This commit is contained in:
Scott Taylor
2014-08-20 17:13:04 +00:00
parent 71d018ff0c
commit 89ed2c4217

View File

@@ -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;