Wordpress/tests/phpunit/includes
Boone Gorges 129e5f5278 Ensure that a request URL is always set in `WP_UnitTestCase::go_to()`.
Failure to set this variable meant that passing the home URL to `go_to()`
(without a trailing slash) resulted in a PHP notice, and failed to reset the
globals properly.

Props joostdevalk.
Fixes #31417.

git-svn-id: https://develop.svn.wordpress.org/trunk@31515 602fd350-edb4-49c9-b593-d223f7449a82
2015-02-23 01:07:18 +00:00
..
bootstrap.php Exclude external-http tests when running `phpunit`. 2014-11-10 14:48:28 +00:00
exceptions.php
factory.php
functions.php
install.php Unset the default permalink structure after installing Multisite for automated tests. 2014-11-07 01:24:19 +00:00
mock-fs.php
mock-image-editor.php Add tests which ensure the `wp_editor_set_quality` and `jpeg_quality` filters only apply if they are added before the corresponding `WP_Image_Editor` is instantiated. 2014-12-15 21:24:21 +00:00
mock-mailer.php
testcase-ajax.php
testcase-canonical.php In unit tests, use `wpmu_delete_user()` to delete users when `is_multisite()`. 2014-11-08 19:55:05 +00:00
testcase-xmlrpc.php Use `remove_added_uploads()` in `tearDown()` for XMLRPC tests 2014-11-08 20:17:17 +00:00
testcase.php Ensure that a request URL is always set in `WP_UnitTestCase::go_to()`. 2015-02-23 01:07:18 +00:00
trac.php
utils.php Remove non-built-in post statuses during each unit test teardown. 2015-01-04 20:05:53 +00:00
wp-profiler.php