Changeset 51331 for trunk/tests/phpunit/tests/customize/section.php
- Timestamp:
- 07/05/2021 05:21:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/section.php
r49603 r51331 39 39 function test_construct_default_args() { 40 40 $section = new WP_Customize_Section( $this->manager, 'foo' ); 41 $this->assertI nternalType( 'int',$section->instance_number );41 $this->assertIsInt( $section->instance_number ); 42 42 $this->assertSame( $this->manager, $section->manager ); 43 43 $this->assertSame( 'foo', $section->id ); … … 140 140 $this->assertEmpty( $data['content'] ); 141 141 $this->assertTrue( $data['active'] ); 142 $this->assertI nternalType( 'int',$data['instanceNumber'] );142 $this->assertIsInt( $data['instanceNumber'] ); 143 143 } 144 144
Note: See TracChangeset
for help on using the changeset viewer.