Ensure that a request URL is always set in `WP_UnitTestCase::go_to()`.

Failure to set this variable meant that passing the home URL to `go_to()`
(without a trailing slash) resulted in a PHP notice, and failed to reset the
globals properly.

Props joostdevalk.
Fixes #31417.
Built from https://develop.svn.wordpress.org/trunk@31515


git-svn-id: http://core.svn.wordpress.org/trunk@31496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-02-23 01:08:25 +00:00
parent 5ac75b3b0a
commit 1b6bb2f183
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31514';
$wp_version = '4.2-alpha-31515';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.