Wordpress/tests/phpunit/tests
Boone Gorges 193196a552 Make $taxonomy parameter optional in get_edit_term_link().
Props nicdford, sc0ttkclark.
Fixes #35922.

git-svn-id: https://develop.svn.wordpress.org/trunk@36646 602fd350-edb4-49c9-b593-d223f7449a82
2016-02-23 20:06:25 +00:00
..
actions
admin Permalinks: Ensure the page hierarchy is correct for sample permalinks. 2016-01-10 18:27:06 +00:00
ajax After [35518] define $_POST['post_view'] in test_dont_process_terms_if_taxonomy_does_not_allow_show_on_quick_edit(). 2015-11-04 23:05:03 +00:00
attachment Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
canonical Tests: Add more paged canonical tests for page_on_front. 2016-01-09 08:08:47 +00:00
category Add current-cat-ancestor class to ancestor items in wp_list_categories(). 2015-12-18 18:37:41 +00:00
comment Allow comments to be queried by 'any' post_type or post_status. 2016-02-06 04:50:05 +00:00
customize Customize: Skip exporting partials to client and handling rendering requests if user can't modify associated settings. 2016-02-23 18:13:30 +00:00
date Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
db Tests: When testing the utf8mb4 charset, ensure that the current MySQL server has utf8mb4 support. 2015-12-29 04:39:02 +00:00
dependencies Script Loader: Introduce wp_add_inline_script(). 2016-02-23 16:43:41 +00:00
external-http Unit Tests: move some oEmbed tests that can trigger HTTP calls to Tests_External_HTTP_OEmbed. 2015-10-15 01:28:05 +00:00
feed Improve Automated Feed Tests 2016-02-12 19:02:25 +00:00
filesystem Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
formatting Formatting: Avoid a PHP warning when wptexturize() is called with a trailing less-than symbol. 2016-02-18 20:30:54 +00:00
functions Introduce wp_get_raw_referer() to retrieve unvalidated referer. 2016-01-12 08:31:10 +00:00
general Template: Always display the site title on the front page. 2016-01-04 17:15:31 +00:00
http HTTP Tests: Use login.wordpress.org/wp-login.php in test_get_response_cookies(). 2015-11-24 21:59:23 +00:00
image Media: Update unit tests after change to default image quality. 2016-02-22 23:13:27 +00:00
import Require dependencies when appropriate in some unit test files. 2015-07-14 03:07:13 +00:00
includes Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
link Permalinks: Make get_post_type_archive_link() work for the 'post' post type. 2016-01-08 22:00:48 +00:00
meta In delete_metadata(), only invalidate cache for affected objects. 2016-02-12 02:46:28 +00:00
multisite Ensure that the scheme used in the URL returned by get_blogaddress_by_id() always reflects the blog's URL, instead of using http. 2015-10-30 02:01:32 +00:00
oembed Embeds: Allow embedding static front pages and pages having a child page with an embed slug. 2016-01-15 07:55:19 +00:00
option Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Query: Allow a seed value to be passed when using 'rand' $orderby. 2016-02-23 16:39:50 +00:00
query Query: is_*( $int ) should not falsely match strings starting with "$int". 2016-02-23 02:20:28 +00:00
rest-api REST API: Allow explicit HEAD callbacks. 2016-02-16 05:50:21 +00:00
rewrite Tests: Fix unit tests after [36217]. 2016-01-07 10:16:47 +00:00
term Make $taxonomy parameter optional in get_edit_term_link(). 2016-02-23 20:06:25 +00:00
theme Themes: Enhance filtering options for allowed themes on a network. 2016-01-20 18:28:33 +00:00
user Tests: Fix all the things. 2015-12-21 07:09:43 +00:00
xmlrpc XML-RPC: Revert [34681] as it broke date handling. 2016-01-03 19:48:07 +00:00
actions.php Introduce doing_filter() and doing_action() to identify hooks in progress. 2014-02-26 18:43:59 +00:00
adminbar.php Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished. 2015-10-17 20:48:33 +00:00
auth.php Authentication: Allow users to log in using their email address. 2016-02-22 23:14:27 +00:00
avatar.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
basic.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
cache.php Unit Tests: WP_UnitTest_Generator_Sequence needs a static incrementer - otherwise, it assumes every test class is a reset, which it no longer is (it is now static). 2015-10-17 19:24:20 +00:00
canonical.php Unit Tests: after [35186], "upgrade" the Canonical fixtures. 2015-10-15 05:50:40 +00:00
category.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
comment-submission.php Comments: Restrict the maximum characters for input fields within the comments template. 2016-01-13 01:24:46 +00:00
comment.php Comments: Unit test for `wp_get_comment_fields_max_lengths(). 2016-02-12 14:17:13 +00:00
compat.php WPDB: When checking that a string can be sent to MySQL, we shouldn't use mb_convert_encoding(), as it behaves differently to MySQL's character encoding conversion. 2015-05-06 02:59:50 +00:00
cron.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
db.php Tests: Use the new wpdb::close() method for closing the DB connection. 2016-02-05 01:05:47 +00:00
dbdelta.php Tests: Add Tests_dbDelta::assertTableHasPrimaryKey(). 2016-02-17 18:54:27 +00:00
dependencies.php Remove tests for code still in development, see #22229. If accidentally run, they produce fatal errors. 2013-10-07 14:17:13 +00:00
file.php Tests: Clean up the resulting /tmp/foo* files from the tempnam call. 2015-03-31 02:10:52 +00:00
filters.php In remove_all_filters(), only remove callbacks that match the $priority parameter. 2014-12-31 19:06:29 +00:00
functions.php Formatting: when making unique filenames in wp_unique_filename() by adding an incrementing number, prefix it with a dash to disambiguate from files that end in numbers. 2015-10-20 04:04:26 +00:00
kses.php KSES: Allow the reversed attribute for <ol>. 2015-12-16 09:53:18 +00:00
l10n.php L10n: Add test for wp_dropdown_languages(). 2016-02-23 16:27:36 +00:00
link.php Move get_adjacent_post() tests to their own file. 2015-12-23 19:38:29 +00:00
locale.php I18N: Introduce tests for WP_Locale. 2016-01-13 23:49:52 +00:00
mail.php Tests: Add decorators to PHPMailer mock object. 2016-02-20 03:40:49 +00:00
media.php Improve the performance of wp_upload_dir(): 2016-02-17 22:51:01 +00:00
meta.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
multisite.php Initialise $_SERVER[ 'REMOTE_ADDR' ] during the test bootstrap so individual tests need not. 2015-09-15 08:04:33 +00:00
pluggable.php Users: Deprecate the get_currentuserinfo() pluggable function. 2016-01-15 10:15:21 +00:00
post.php Taxonomy: Fix unit tests after [36308]. 2016-01-15 09:12:18 +00:00
query.php WP_Query taxonomy query vars should be set to first of multiple taxonomies. 2016-02-06 03:57:33 +00:00
rest-api.php REST API: Require namespace when registering routes. 2015-11-17 02:38:31 +00:00
rewrite.php Embeds: Allow embedding static front pages and pages having a child page with an embed slug. 2016-01-15 07:55:19 +00:00
shortcode.php Tests: Use the correct URL in some shortcode tests. 2015-12-26 04:50:23 +00:00
taxonomy.php Introduce publicly_queryable taxonomy argument. 2016-02-13 03:50:37 +00:00
term.php Order terms by 'name' when populating object term cache. 2015-12-22 01:50:08 +00:00
theme.php Comments: Commit tests missed in [35848]. 2015-12-10 03:15:44 +00:00
upload.php Improve the performance of wp_upload_dir(): 2016-02-17 22:51:01 +00:00
url.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
user.php Tests: Add decorators to PHPMailer mock object. 2016-02-20 03:40:49 +00:00
walker.php Add unit tests for Walker class. 2014-08-01 20:35:25 +00:00
widgets.php Widgets: Revert [34465], as it introduced a regression, making the $index argument of dynamic_sidebar() case-sensitive. 2015-12-31 03:12:36 +00:00
wp.php Query: Add a WP::remove_query_var() helper function. 2016-01-05 20:56:10 +00:00