Customizer: Fix a coding standards issue introduced in [44580].
See #40020. git-svn-id: https://develop.svn.wordpress.org/trunk@44582 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7de213856b
commit
065e7817c4
@ -852,8 +852,8 @@ class Tests_WP_Customize_Manager extends WP_UnitTestCase {
|
||||
* @covers WP_Customize_Manager::filter_iframe_security_headers()
|
||||
*/
|
||||
function test_filter_iframe_security_headers() {
|
||||
$wp_customize = new WP_Customize_Manager();
|
||||
$headers = $wp_customize->filter_iframe_security_headers( array() );
|
||||
$wp_customize = new WP_Customize_Manager();
|
||||
$headers = $wp_customize->filter_iframe_security_headers( array() );
|
||||
$this->assertArrayHasKey( 'X-Frame-Options', $headers );
|
||||
$this->assertArrayHasKey( 'Content-Security-Policy', $headers );
|
||||
$this->assertEquals( 'SAMEORIGIN', $headers['X-Frame-Options'] );
|
||||
|
Loading…
Reference in New Issue
Block a user