Update test_filter_wp_nav_menu_args()
after [33035].
see #32781. git-svn-id: https://develop.svn.wordpress.org/trunk@33043 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fcd4f3ea0f
commit
8a8fc13bd0
@ -358,7 +358,9 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
|
|||||||
'echo',
|
'echo',
|
||||||
'args_hash',
|
'args_hash',
|
||||||
'can_partial_refresh',
|
'can_partial_refresh',
|
||||||
|
'fallback_cb',
|
||||||
'instance_number',
|
'instance_number',
|
||||||
|
'walker',
|
||||||
);
|
);
|
||||||
$results = $menus->filter_wp_nav_menu_args( array(
|
$results = $menus->filter_wp_nav_menu_args( array(
|
||||||
'echo' => false,
|
'echo' => false,
|
||||||
@ -366,6 +368,8 @@ class Test_WP_Customize_Nav_Menus extends WP_UnitTestCase {
|
|||||||
'walker' => new Walker_Nav_Menu(),
|
'walker' => new Walker_Nav_Menu(),
|
||||||
) );
|
) );
|
||||||
$this->assertEqualSets( $expected, array_keys( $results ) );
|
$this->assertEqualSets( $expected, array_keys( $results ) );
|
||||||
|
$this->assertEquals( '', $results['fallback_cb'] );
|
||||||
|
$this->assertEquals( '', $results['walker'] );
|
||||||
$this->assertEquals( 0, $results['can_partial_refresh'] );
|
$this->assertEquals( 0, $results['can_partial_refresh'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user