Changeset 51331 for trunk/tests/phpunit/tests/customize/panel.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/panel.php
r48937 r51331 32 32 function test_construct_default_args() { 33 33 $panel = new WP_Customize_Panel( $this->manager, 'foo' ); 34 $this->assertI nternalType( 'int',$panel->instance_number );34 $this->assertIsInt( $panel->instance_number ); 35 35 $this->assertSame( $this->manager, $panel->manager ); 36 36 $this->assertSame( 'foo', $panel->id ); … … 126 126 $this->assertEmpty( $data['content'] ); 127 127 $this->assertTrue( $data['active'] ); 128 $this->assertI nternalType( 'int',$data['instanceNumber'] );128 $this->assertIsInt( $data['instanceNumber'] ); 129 129 } 130 130
Note: See TracChangeset
for help on using the changeset viewer.