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
exceptions.php
factory.php
functions.php
install.php Always clean install in PHPUnit Tests. 2013-11-11 22:14:24 +00:00
mock-fs.php
mock-image-editor.php
mock-mailer.php
testcase-ajax.php
testcase-xmlrpc.php
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
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