[wp-trac] [WordPress Trac] #28119: Cateogry API PHPUnit Tests
WordPress Trac
noreply at wordpress.org
Sun May 4 19:06:16 UTC 2014
#28119: Cateogry API PHPUnit Tests
-------------------------+-----------------------------
Reporter: mdbitz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
Attached is a patch of unit tests for the Category API. A subset of the
api strictly calls the applicable term / taxonomy api and as such tests
weren't written for those functions.
Covered Category API functions
- get_all_category_ids
- get_category_by_slug
- _make_cat_compat
- get_cat_name
- get_cat_ID
- get_category_by_path
Updated group of term_is_ancestor_of test method as it includes validation
of cat_is_ancestor_of function.
PHPUnit --group category.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28119>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list