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 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 Allow `wp_die()` to die in plain text when running the test suite. 2014-06-21 19:59:28 +00:00
install.php Unset the default permalink structure after installing Multisite for automated tests. 2014-11-07 01:24:19 +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 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 Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:24:31 +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-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 Don't use HTTPS in unit tests if OpenSSL isn't loaded. 2014-02-12 20:39:21 +00:00
utils.php Remove non-built-in post statuses during each unit test teardown. 2015-01-04 20:05:53 +00:00
wp-profiler.php Use HTTPS URLs for trac.wordpress.org (and use core.trac.wordpress.org) 2014-09-29 13:36:38 +00:00