- Timestamp:
- 10/20/2016 05:12:26 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php
r38832 r38834 678 678 $term = get_term_by( 'id', $this->factory->category->create(), 'category' ); 679 679 680 $request = new WP_REST_Request( 'POST', '/wp/v2/categories/' . $term->term_ taxonomy_id );680 $request = new WP_REST_Request( 'POST', '/wp/v2/categories/' . $term->term_id ); 681 681 $request->set_param( 'parent', $parent->term_id ); 682 682 $response = $this->server->dispatch( $request );
Note: See TracChangeset
for help on using the changeset viewer.