- 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-tags-controller.php
r38832 r38834 532 532 $term = get_term_by( 'id', $this->factory->tag->create(), 'post_tag' ); 533 533 534 $request = new WP_REST_Request( 'POST', '/wp/v2/tags/' . $term->term_ taxonomy_id );534 $request = new WP_REST_Request( 'POST', '/wp/v2/tags/' . $term->term_id ); 535 535 $request->set_param( 'parent', REST_TESTS_IMPOSSIBLY_HIGH_NUMBER ); 536 536 $response = $this->server->dispatch( $request );
Note: See TracChangeset
for help on using the changeset viewer.