Changeset 36309
- Timestamp:
- 01/15/2016 09:12:18 AM (9 years ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post.php
r36094 r36309 992 992 993 993 foreach ( $matches[1] as $url ) { 994 $this->assertContains( 't ag_ID=' . $term->term_id, $url );994 $this->assertContains( 'term_id=' . $term->term_id, $url ); 995 995 $this->assertContains( 'post_type=new_post_type', $url ); 996 996 } -
trunk/tests/phpunit/tests/term/getEditTermLink.php
r35242 r36309 18 18 19 19 $actual = get_edit_term_link( $term1, 'wptests_tax' ); 20 $expected = 'http://' . WP_TESTS_DOMAIN . '/wp-admin/ edit-tags.php?action=edit&taxonomy=wptests_tax&tag_ID=' . $term1 . '&post_type=post';20 $expected = 'http://' . WP_TESTS_DOMAIN . '/wp-admin/term.php?taxonomy=wptests_tax&term_id=' . $term1 . '&post_type=post'; 21 21 $this->assertEquals( $expected, $actual ); 22 22 }
Note: See TracChangeset
for help on using the changeset viewer.