Wordpress/tests/phpunit/includes
Scott Taylor a31a167359 Reset `$wp_query` and `$post` during `WP_UnitTestCase::tearDown()` to avoid spillage of globals between tests.
See #26321.



git-svn-id: https://develop.svn.wordpress.org/trunk@27183 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-17 21:03:43 +00:00
..
bootstrap.php Test runner: Extend WP_PHPUnit_Util_Getopt instead of PHPUnit_TextUI_Command to parse incoming options. 2013-12-27 15:07:07 +00:00
exceptions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
factory.php Multisite: Add get_network_by_path() and wp_get_network() to begin cleanup of multisite load. 2014-02-13 23:06:12 +00:00
functions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
install.php Test framework: Override PHPMailer during installation. 2014-01-14 21:55:41 +00:00
mock-fs.php Normalize slashes in WP_Filesystem_MockFS::mkdir() and WP_Filesystem_MockFS::locate_parent_node() to avoid an infinite loop on Windows. 2013-11-18 15:32:47 +00:00
mock-image-editor.php * Avoid notice by making `WP_Image_Editor_Mock::test()` compatible with `WP_Image_Editor::test()`. 2013-09-12 04:40:13 +00:00
mock-mailer.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
testcase-ajax.php Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272. 2014-01-22 04:55:37 +00:00
testcase-xmlrpc.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
testcase.php Reset `$wp_query` and `$post` during `WP_UnitTestCase::tearDown()` to avoid spillage of globals between tests. 2014-02-17 21:03:43 +00:00
trac.php Don't use HTTPS in unit tests if OpenSSL isn't loaded. 2014-02-12 20:39:21 +00:00
utils.php Remove the Featured Content term filters when running Unit Tests. Set the return value of `wp_get_object_terms()` to a var before passing to `array_shift()` in `test_get_object_terms_types()`, which expects a var to be passed by reference. 2013-11-15 02:32:16 +00:00
wp-profiler.php Remove lingering instances of call time pass-by-reference, limited to instances of `callable` - use `$this` instead of `&$this`. 2013-09-05 16:33:50 +00:00