Tests: Correct assertion in Tests_WP_Customize_Setting::test_constructor_with_args()
.
Props jipmoors. See #30988, #43218. git-svn-id: https://develop.svn.wordpress.org/trunk@42799 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c6ecac6ad5
commit
257048ac71
@ -106,7 +106,7 @@ class Tests_WP_Customize_Setting extends WP_UnitTestCase {
|
||||
}
|
||||
$this->assertEquals( 10, has_filter( "customize_validate_{$setting->id}", $args['validate_callback'] ) );
|
||||
$this->assertEquals( 10, has_filter( "customize_sanitize_{$setting->id}", $args['sanitize_callback'] ) );
|
||||
$this->assertEquals( 10, has_filter( "customize_sanitize_js_{$setting->id}" ), $args['sanitize_js_callback'] );
|
||||
$this->assertEquals( 10, has_filter( "customize_sanitize_js_{$setting->id}", $args['sanitize_js_callback'] ) );
|
||||
}
|
||||
|
||||
public $post_data_overrides = array(
|
||||
|
Loading…
Reference in New Issue
Block a user