Wordpress/tests/phpunit/tests/term
Boone Gorges 0546d4ea57 Add unit tests for get_term().
These tests will be useful as we begin to refactor in favor of `WP_Term`.

See #14162.

git-svn-id: https://develop.svn.wordpress.org/trunk@34035 602fd350-edb4-49c9-b593-d223f7449a82
2015-09-11 03:10:47 +00:00
..
cache.php Update individual term caches in get_terms(). 2014-12-17 16:38:44 +00:00
categoryExists.php Default $parent in category_exists() should default to null rather than 0. 2015-01-11 01:25:19 +00:00
getEditTermLink.php Improve error checking in get_edit_term_link(). 2015-06-26 14:12:27 +00:00
getTerm.php Add unit tests for get_term(). 2015-09-11 03:10:47 +00:00
getTermLink.php Don't allow $field param to be passed to get_term_link(). 2015-07-01 12:53:05 +00:00
getTerms.php In get_terms(), allow terms to be ordered by 'term_id'. 2015-09-04 21:16:11 +00:00
isObjectInTerm.php In in_object_in_term(), only check numeric string values against term_id. 2014-11-03 14:24:23 +00:00
query.php Improve WP_Tax_Query param sanitization for empty strings. 2014-10-26 22:56:36 +00:00
slashes.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
splitSharedTerm.php When splitting a shared 'nav_menu' term, ensure that nav items and theme locations are retained. 2015-08-12 14:06:21 +00:00
termExists.php Move term_exists() tests to their own file. 2014-10-30 18:52:37 +00:00
wpDeleteObjectTermRelationships.php Add tests for wp_delete_object_term_relationships(). 2015-01-02 14:02:54 +00:00
wpDeleteTerm.php In wp_delete_term(), the $deleted_term object passed to filters should be generated before term relationships are deleted. 2015-08-22 19:42:30 +00:00
wpGenerateTagCloud.php Introduce 'wp_generate_tag_cloud_data' filter. 2015-06-29 14:15:59 +00:00
wpGetObjectTerms.php Introduce 'parent' parameter to wp_get_object_terms(). 2015-01-23 14:56:04 +00:00
wpInsertTerm.php Move and tests to their own files. 2015-03-18 13:27:15 +00:00
wpUniqueTermSlug.php Improve unit tests for wp_unique_term_slug(). 2015-05-15 20:37:51 +00:00
wpUpdateTerm.php wp_update_term() should return a true integer for 'term_taxonomy_id'. 2015-08-19 19:32:04 +00:00