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 Tests: Add `@method` notations to factor class DocBlocks as a way to indicate expected return types from factory methods for the benefit of IDEs. 2017-06-30 04:35:39 +00:00
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 Tests: Add docblocks for `Basic_Object` and `Basic_Subclass` classes. 2016-08-30 14:31:56 +00:00
class-basic-subclass.php Tests: Add docblocks for `Basic_Object` and `Basic_Subclass` classes. 2016-08-30 14:31:56 +00:00
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 Build/Test Tools: Add a missing class to the PHPUnit 6 back compat. 2017-05-30 22:06:56 +00:00
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 REST API: Avoid sending blank `Last-Modified` headers with authenticated requests. 2017-05-19 20:26:48 +00:00
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 Build/Test Tools: Avoid skipping canonical tests that are connected to open Trac tickets. 2017-04-22 18:25:30 +00:00
testcase-rest-api.php
testcase-rest-controller.php REST API: Fire correct hooks when creating users on multiste. 2016-11-09 01:34:56 +00:00
testcase-rest-post-type-controller.php REST API: Shim `post_date_gmt` for drafts / empty dates in the REST API. 2017-02-24 18:14:21 +00:00
testcase-xmlrpc.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:30:48 +00:00
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