#28119 closed enhancement (fixed)
Category API PHPUnit Tests
| Reported by: | mdbitz | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Taxonomy | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
category.php Unit Tests