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 Tests: Return an exit code of 1 in the event that the database server for tests is unavailable. 2017-10-21 14:13:37 +00:00
class-basic-object.php
class-basic-subclass.php
exceptions.php
factory.php
functions.php Tests: Return an exit code of 1 in the event that the database server for tests is unavailable. 2017-10-21 14:13:37 +00:00
install.php Tests: Return an exit code of 1 in the event that the database server for tests is unavailable. 2017-10-21 14:13:37 +00:00
mock-fs.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
mock-image-editor.php
mock-mailer.php Tests: Fully reset MockPHPMailer between tests. 2017-07-29 20:52:45 +00:00
object-cache.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
phpunit6-compat.php
plural-form-function.php I18N: Improvements to the tests for plural forms. 2017-10-04 13:26:15 +00:00
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 Build/Test tools: Document the return value of WP_UnitTestCase::factory(). 2017-10-19 15:32:07 +00:00
trac.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
utils.php General: Improve terminology used when referring to installations of WordPress and its extensions. 2017-08-22 11:51:11 +00:00
wp-profiler.php