Changeset 53833 for trunk/tests/phpunit/tests/term/getTermLink.php
- Timestamp:
- 08/04/2022 05:18:36 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/term/getTermLink.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/getTermLink.php
r52305 r53833 295 295 public function data_get_term_link() { 296 296 return array( 297 'category passing term_id' => array( 297 'category passing term_id' => array( 298 'taxonomy' => 'category', 299 'use_id' => true, 300 ), 301 'category passing term object' => array( 298 302 'taxonomy' => 'category', 299 303 'use_id' => false, 300 304 ), 301 ' category passing term object'=> array(302 'taxonomy' => ' category',305 'post_tag passing term_id' => array( 306 'taxonomy' => 'post_tag', 303 307 'use_id' => true, 304 308 ), 305 'post_tag passing term _id' => array(309 'post_tag passing term object' => array( 306 310 'taxonomy' => 'post_tag', 307 311 'use_id' => false, 308 312 ), 309 ' post_tag passing term object'=> array(310 'taxonomy' => ' post_tag',313 'a custom taxonomy passing term_id' => array( 314 'taxonomy' => 'wptests_tax', 311 315 'use_id' => true, 312 316 ), 313 'a custom taxonomy passing term _id' => array(317 'a custom taxonomy passing term object' => array( 314 318 'taxonomy' => 'wptests_tax', 315 319 'use_id' => false, 316 ),317 'a custom taxonomy passing term_id' => array(318 'taxonomy' => 'wptests_tax',319 'use_id' => true,320 'expected' => 'term.php?taxonomy=custom_taxonomy&tag_ID=%ID%&post_type=post',321 320 ), 322 321 );
Note: See TracChangeset
for help on using the changeset viewer.