Build/Test tools: Move wp_doing_ajax defintion from class setup to test setup.

Moves defintion of ajax request in `WP_Ajax_UnitTestCase` to `setUp()` method to account for hooks being reset as part of `tearDown()`.

Props matthias.thiel for report.
Fixes #41561.


Built from https://develop.svn.wordpress.org/trunk@41970


git-svn-id: http://core.svn.wordpress.org/trunk@41804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2017-10-23 05:11:47 +00:00
parent 990c6d5a42
commit ca45ec136f

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-beta3-41969';
$wp_version = '4.9-beta3-41970';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.