mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Customize: Fix broken unit test for WP_Customize_Nav_Menu_Item_Setting::value_as_wp_post_nav_menu_item()
.
Fixes issue in [35580] which caused unit tests to fail while run under multisite. Fixes #32812. git-svn-id: https://develop.svn.wordpress.org/trunk@35583 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
94ed2c31ba
commit
0e39b86500
@ -796,7 +796,7 @@ class Test_WP_Customize_Nav_Menu_Item_Setting extends WP_UnitTestCase {
|
||||
$this->assertEquals( 123, $nav_menu_item->db_id );
|
||||
$this->assertEquals( wp_get_current_user()->ID, $nav_menu_item->post_author );
|
||||
$this->assertObjectHasAttribute( 'type_label', $nav_menu_item );
|
||||
$this->assertEquals( '“>attempted baddie', $nav_menu_item->attr_title );
|
||||
$this->assertEquals( apply_filters( 'nav_menu_attr_title', apply_filters( 'excerpt_save_pre', $post_value['attr_title'] ) ), $nav_menu_item->attr_title );
|
||||
$this->assertEquals( 'Attempted markup', $nav_menu_item->description );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user