Wordpress/tests/phpunit/includes
Scott Taylor 5de39fc2f1 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.
See #25282.



git-svn-id: https://develop.svn.wordpress.org/trunk@26187 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:32:16 +00:00
..
bootstrap.php Test framework: Update path to multisite.xml. 2013-09-12 21:04:16 +00:00
exceptions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
factory.php Add a default value to `WP_UnitTest_Factory_For_Comment::default_generation_definitions['comment_content']` to avoid a tornado of database errors in PHP 5.5/MySQL 5.6, even when `WP_DEBUG` is turned off. 2013-10-02 19:46:58 +00:00
functions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
install.php Always clean install in PHPUnit Tests. 2013-11-11 22:14:24 +00:00
mock-fs.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +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 Fix several esoteric errors related to AJAX unit tests for comments: 2013-09-14 18:35:43 +00:00
testcase-xmlrpc.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
testcase.php `WP_UnitTestCase::go_to()` tried its best to clean up global space, but ultimately fell short. Because it was blowing away `WP` every time it was called, it was dropping all the query vars that were registered for custom taxonomies and custom post types (ouch). 2013-11-04 22:46:44 +00:00
trac.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +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