Wordpress/tests/phpunit/includes
Peter Wilson a77ccfad80 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@41970 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-23 05:10:25 +00:00
..
factory
bootstrap.php
class-basic-object.php
class-basic-subclass.php
exceptions.php
factory.php
functions.php
install.php
mock-fs.php
mock-image-editor.php
mock-mailer.php
object-cache.php
phpunit6-compat.php
plural-form-function.php
speed-trap-listener.php
spy-rest-server.php
testcase-ajax.php Build/Test tools: Move `wp_doing_ajax` defintion from class setup to test setup. 2017-10-23 05:10:25 +00:00
testcase-canonical.php
testcase-rest-api.php
testcase-rest-controller.php
testcase-rest-post-type-controller.php
testcase-xmlrpc.php
testcase.php
trac.php
utils.php
wp-profiler.php