Wordpress/tests/phpunit/tests
Sergey Biryukov 3b6ff03136 wp_update_term() should check if get_term() returned null.
props dlh.
fixes #31954.

git-svn-id: https://develop.svn.wordpress.org/trunk@32117 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 01:20:57 +00:00
..
actions Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
admin After [31114] and [31323], 'View Post' generated in get_sample_permalink_html() should go to pretty permalink. 2015-04-04 01:26:08 +00:00
ajax Pinking shears in unit test files. 2015-03-05 13:14:28 +00:00
attachment Fix typo in a comment in slashing tests. 2015-01-07 07:08:47 +00:00
canonical In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
category Add unit tests for 'show_option_all' behavior of wp_list_categories(). 2015-01-30 01:39:31 +00:00
comment Improve method consistency in WP_Comment_Query. 2015-03-16 14:23:33 +00:00
customize Customizer: Return the original value when filtering theme mods/options and the current blog has changed. 2015-03-10 23:04:12 +00:00
date WP_Date_Query date validation should not fail for hour = 0. 2015-01-20 19:12:48 +00:00
db WPDB: Due to PHP 5.2's internal string handling, strings in Windows are encoded using UTF-16, instead of UTF-8. With the addition of the many character set tests in [30345], a couple of them were tripping up in PHP 5.2 under Windows, because of this behaviour. 2015-04-01 12:33:39 +00:00
dependencies Add emoji support, with Twemoji fallback. 2015-03-11 22:48:16 +00:00
feed Use shared fixtures in RSS2 unit tests. 2015-03-20 12:34:28 +00:00
filesystem Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
formatting Smilies: Tweak which smiley matches which emoji. 2015-04-10 06:29:49 +00:00
functions Ignore case when checking string 'false' in wp_validate_boolean(). 2014-11-03 15:54:42 +00:00
general Don't run wp_get_archives() cache test on multisite. 2015-03-12 23:29:21 +00:00
http HTTP API: Fix an issue where the limit_response_size parameter wasn't working properly with large documents and the cURL transport. 2015-01-29 03:57:42 +00:00
image In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
import Use HTTPS URLs for core.trac.wordpress.org 2014-09-29 13:27:55 +00:00
includes Ensure that a request URL is always set in WP_UnitTestCase::go_to(). 2015-02-23 01:07:18 +00:00
link In get_next_comments_link(), ensure proper pagination when no 'cpage' query var is found. 2015-03-05 03:56:21 +00:00
meta Make orderby=meta_value compatible with meta_query when relation=OR. 2014-10-19 18:53:55 +00:00
multisite Unit Tests added in [31970] need to be restricted to run in Multisite only. 2015-04-02 00:12:07 +00:00
option Allow $autoload setting to be changed for existing options using update_option(). 2015-03-06 13:56:44 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:47:35 +00:00
post Avoid duplicate classes for different terms with UTF-8 slugs in post_class() and body_class(). 2015-04-02 01:04:22 +00:00
query Allow is_page_template() to accept an array, as many other conditional tags do. 2015-03-12 16:27:06 +00:00
term wp_update_term() should check if get_term() returned null. 2015-04-13 01:20:57 +00:00
theme Clean up 'post-thumbnail' theme support unit tests. 2014-11-01 04:00:59 +00:00
user WP_User_Query: When querying users with 'fields=all', ensure that caps and roles are filled for the current site. 2015-04-03 14:13:19 +00:00
xmlrpc Correctly set the post author in wp_xmlrpc_server::mw_editPost() when the current user is not the author of the post. 2015-04-02 15:48:41 +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 Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
auth.php Type cast $nonce to string in wp_verify_nonce(). 2014-11-26 19:18:02 +00:00
avatar.php Fix a unit test after [31721]. 2015-03-11 20:11:38 +00:00
basic.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
cache.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
canonical.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
category.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
comment.php Respect comment_date and comment_date_gmt params in wp_new_comment(). 2015-03-05 02:59:47 +00:00
compat.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +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 WPDB: Some character set tests were failing if DB_CHARSET was empty, or a non-utf8 character set. 2015-02-09 00:38:11 +00:00
dbdelta.php When dbDelta() is checking whether an index is defined in a CREATE TABLE statement, don't worry if MySQL has a subpart defined on an index, but the CREATE TABLE doesn't. 2015-04-11 10:39:49 +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 Respect numerical keys in add_query_arg(), use array_replace() instead of array_merge(). 2015-04-01 19:14:46 +00:00
kses.php Make wp_kses_no_null() remove any invalid control characters in a string. 2014-07-01 18:00:50 +00:00
l10n.php Remove failing is_textdomain_loaded() test. 2014-11-22 20:36:51 +00:00
link.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
mail.php Improve handling of incomplete From and Content-Type headers in wp_mail(). 2015-04-07 20:09:46 +00:00
media.php EXIF/IPTC captions should populate Caption (post_excerpt) on upload, not Description (post_content). 2015-03-10 05:06:39 +00:00
meta.php Update the tests for get_metadata() to reflect the revert in r30701. 2014-12-02 03:43:17 +00:00
multisite.php Split and organize multisite unit tests 2014-10-16 05:06:22 +00:00
post.php Emoji: Fix a unit test which was incorrectly failing after [31926] fixed emoji being incorrectly encoded. 2015-03-31 09:36:29 +00:00
query.php Tests for some existing 'orderby' functionality in WP_*_Query classes. 2015-03-07 15:44:28 +00:00
rewrite.php Pinking shears in unit test files. 2015-03-05 13:14:28 +00:00
shortcode.php In PHPUnit test classes, parent::tearDown() should be the last thing done in tearDown() methods. 2015-03-05 13:14:15 +00:00
taxonomy.php Use more descriptive names for register_post_type() and register_taxonomy() tests with too long and too short names. 2015-02-13 23:33:56 +00:00
term.php Move and tests to their own files. 2015-03-18 13:27:15 +00:00
theme.php Fix formatting in [29946]. 2014-10-17 22:14:49 +00:00
upload.php wp_upload_dir() has a (little-known?) side effect: if you call it, it will attempt to create an uploads directory for the current month. As such, tearDown() and cleanup routines have to be in sync with this behavior when deleting bogus directories used in unit tests. 2014-11-30 19:05:52 +00:00
url.php In get_adjacent_post(), return private post if the current user has the capacity to read it. 2015-01-30 02:19:46 +00:00
user.php When updating the email address for an existing user, make sure the email address is not already in use. 2015-04-01 18:22:16 +00:00
walker.php Add unit tests for Walker class. 2014-08-01 20:35:25 +00:00
widgets.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00