- Timestamp:
- 07/05/2021 05:21:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/selective-refresh-ajax.php
r48939 r51331 161 161 $output = json_decode( ob_get_clean(), true ); 162 162 $this->assertTrue( $output['success'] ); 163 $this->assertI nternalType( 'array',$output['data'] );163 $this->assertIsArray( $output['data'] ); 164 164 $this->assertArrayHasKey( 'contents', $output['data'] ); 165 165 $this->assertArrayHasKey( 'errors', $output['data'] ); … … 281 281 */ 282 282 function render_callback_blogname( $partial, $context ) { 283 $this->assertI nternalType( 'array',$context );283 $this->assertIsArray( $context ); 284 284 $this->assertInstanceOf( 'WP_Customize_Partial', $partial ); 285 285 return get_bloginfo( 'name', 'display' ); … … 294 294 */ 295 295 function render_callback_blogdescription( $partial, $context ) { 296 $this->assertI nternalType( 'array',$context );296 $this->assertIsArray( $context ); 297 297 $this->assertInstanceOf( 'WP_Customize_Partial', $partial ); 298 298 $x = get_bloginfo( 'description', 'display' ); … … 375 375 */ 376 376 function filter_customize_render_partials_response( $response, $component, $partial_placements ) { 377 $this->assertI nternalType( 'array',$response );377 $this->assertIsArray( $response ); 378 378 $this->assertInstanceOf( 'WP_Customize_Selective_Refresh', $component ); 379 379 if ( isset( $this->expected_partial_ids ) ) {
Note: See TracChangeset
for help on using the changeset viewer.