mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Taxonomy: Fix unit tests after [36308].
See #34988. git-svn-id: https://develop.svn.wordpress.org/trunk@36309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -17,7 +17,7 @@ class Tests_Term_GetEditTermLink extends WP_UnitTestCase {
|
||||
) );
|
||||
|
||||
$actual = get_edit_term_link( $term1, 'wptests_tax' );
|
||||
$expected = 'http://' . WP_TESTS_DOMAIN . '/wp-admin/edit-tags.php?action=edit&taxonomy=wptests_tax&tag_ID=' . $term1 . '&post_type=post';
|
||||
$expected = 'http://' . WP_TESTS_DOMAIN . '/wp-admin/term.php?taxonomy=wptests_tax&term_id=' . $term1 . '&post_type=post';
|
||||
$this->assertEquals( $expected, $actual );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user